Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
9.9k
Code
Issues
998
Pull requests
444
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
C++: New Query: missing return-value check for scanf-like functions
- #10163
#10163
Merged
d10c
merged 21 commits into
github:main
github/codeql:main
from
d10c:missing-check-scanf-squashed
d10c/codeql:missing-check-scanf-squashed
Copy head branch name to clipboard
Sep 1, 2022
Conversation
Commits
21
(21)
Checks
Findings
Files changed
Merged
C++: New Query: missing return-value check for scanf-like functions
#10163
d10c
merged 21 commits into
github:main
github/codeql:main
from
d10c:missing-check-scanf-squashed
d10c/codeql:missing-check-scanf-squashed
Copy head branch name to clipboard
Commits
Commits on Aug 11, 2022
Update .gitignore for .vscode/*.log temporaries
Show description for 94c43c0
d10c
committed
94c43c0
View commit details
Copy full SHA for 94c43c0
Browse repository at this point
C++: Add test and placeholder query.
geoffw0
authored and
d10c
committed
76ef779
View commit details
Copy full SHA for 76ef779
Browse repository at this point
C++: First working. We now prefer flagging the cases where the variable was initialized, as in real world cases we haven't seen it done safely.
geoffw0
authored and
d10c
committed
c62ae3b
View commit details
Copy full SHA for c62ae3b
Browse repository at this point
Commits on Aug 24, 2022
.clang-format: do not autoformat test.cpp
d10c
committed
69911d4
View commit details
Copy full SHA for 69911d4
Browse repository at this point
C++: complete initial implementation of `cpp/missing-check-scanf`
Show description for ca162a4
d10c
committed
ca162a4
View commit details
Copy full SHA for ca162a4
Browse repository at this point
Write MissingCheckScanf.qhelp
d10c
committed
170d12b
View commit details
Copy full SHA for 170d12b
Browse repository at this point
Change note
d10c
committed
6158ee1
View commit details
Copy full SHA for 6158ee1
Browse repository at this point
Merge branch 'main' into missing-check-scanf-squashed
d10c
authored
5c894ae
View commit details
Copy full SHA for 5c894ae
Browse repository at this point
Commits on Aug 25, 2022
C++: new helper predicates in ScanfFunctionCall
Show description for d8800c0
d10c
committed
d8800c0
View commit details
Copy full SHA for d8800c0
Browse repository at this point
C++: Remove unique-Instruction kludge in ScanfOutput
Show description for e39229d
d10c
committed
e39229d
View commit details
Copy full SHA for e39229d
Browse repository at this point
C++: clarify ScanfOutput.getMinimumGuardConstant()
d10c
committed
a6a30b3
View commit details
Copy full SHA for a6a30b3
Browse repository at this point
C++: Small improvements to query qldoc and message
d10c
committed
ad56274
View commit details
Copy full SHA for ad56274
Browse repository at this point
C++: improve change note and move to right place
d10c
committed
2bd866c
View commit details
Copy full SHA for 2bd866c
Browse repository at this point
Revert changes to .gitignore and .clang-format
Show description for 02772ed
d10c
committed
02772ed
View commit details
Copy full SHA for 02772ed
Browse repository at this point
C++: Optimize MissingCheckScanf/bigStep()
d10c
committed
7d24d96
View commit details
Copy full SHA for 7d24d96
Browse repository at this point
Commits on Aug 30, 2022
C++: Improve docs based on doc-review
Show description for e10042b
d10c
committed
e10042b
View commit details
Copy full SHA for e10042b
Browse repository at this point
Merge branch 'main' into missing-check-scanf-squashed
d10c
authored
ce1e4ad
View commit details
Copy full SHA for ce1e4ad
Browse repository at this point
Commits on Aug 31, 2022
C++: Update metadata based on cwe-scores
Show description for 0729e42
d10c
committed
0729e42
View commit details
Copy full SHA for 0729e42
Browse repository at this point
C++: Correct CWE tags in metadata
d10c
committed
38f185b
View commit details
Copy full SHA for 38f185b
Browse repository at this point
C++: Add correctness tag
Show description for f5a30c7
d10c
committed
f5a30c7
View commit details
Copy full SHA for f5a30c7
Browse repository at this point
Commits on Sep 1, 2022
Merge branch 'main' into missing-check-scanf-squashed
d10c
authored
f956999
View commit details
Copy full SHA for f956999
Browse repository at this point
You can’t perform that action at this time.