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
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 }}
ProgramMax
/
cppcheck
Public
forked from
cppcheck-opensource/cppcheck
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
lib
checkbufferoverrun.cpp
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 15, 2016
astyle formatting
Show description for 499e52c
danmar
committed
499e52c
View commit details
Copy full SHA for 499e52c
View code at this point
Browse repository at this point
Commits on Aug 14, 2016
CWE mapping of assignBoolToFloat, strncatUsage, sizeArgumentAsChar, terminateStrncpy, bufferNotZeroTerminated, negativeArraySize, noExplicitConstructor, virtualDestructor
boos
committed
41dee04
View commit details
Copy full SHA for 41dee04
View code at this point
Browse repository at this point
Commits on Aug 4, 2016
Fixed #752 (SymbolDatabase: Does not match function if redundant keywords mismatch (C++))
IOBYTE
authored and
danmar
committed
55b3f0b
View commit details
Copy full SHA for 55b3f0b
View code at this point
Browse repository at this point
Commits on Jul 27, 2016
Refactorized CheckBufferOverrun:
Show description for 3f4fe8f
PKEuS
committed
3f4fe8f
View commit details
Copy full SHA for 3f4fe8f
View code at this point
Browse repository at this point
Commits on Jul 26, 2016
Always set ErrorMessage::file0 to ensure that the source file that cppcheck is checking when an error occurs can be identified
Show description for 9a6569f
PKEuS
committed
9a6569f
View commit details
Copy full SHA for 9a6569f
View code at this point
Browse repository at this point
Commits on Jul 9, 2016
Silent clang -Wshadow warning. (#812)
Show description for bae81fb
simartin
authored and
PKEuS
committed
bae81fb
View commit details
Copy full SHA for bae81fb
View code at this point
Browse repository at this point
Commits on Jul 8, 2016
Use ValueFlow and SymbolDatabase to detect buffer overflows with new and malloc, improving support for enums (#7576)
PKEuS
committed
44a19b5
View commit details
Copy full SHA for 44a19b5
View code at this point
Browse repository at this point
Commits on Jul 7, 2016
Fixed two false positives related to char arrays initialized by a literal:
Show description for 644a216
PKEuS
committed
644a216
View commit details
Copy full SHA for 644a216
View code at this point
Browse repository at this point
Commits on Jun 21, 2016
Fixed #7083 (false positive: typedef and initialization with strings)
umanamente
authored and
danmar
committed
0f11007
View commit details
Copy full SHA for 0f11007
View code at this point
Browse repository at this point
Commits on May 25, 2016
Optimization: Improved performance of CheckBufferOverrun::checkScope() when dealing with a large number of arrays (#5975)
Show description for 8c0eab3
PKEuS
committed
8c0eab3
View commit details
Copy full SHA for 8c0eab3
View code at this point
Browse repository at this point
Refactorizations in CheckBufferOverrun:
Show description for 728d424
PKEuS
committed
728d424
View commit details
Copy full SHA for 728d424
View code at this point
Browse repository at this point
Commits on Feb 26, 2016
Mapped toomanyconfigs ,AssignmentAddressToInteger
Show description for d3645d8
boos
committed
d3645d8
View commit details
Copy full SHA for d3645d8
View code at this point
Browse repository at this point
Commits on Feb 11, 2016
Improve MAXTIME handling
danmar
committed
cef6b35
View commit details
Copy full SHA for cef6b35
View code at this point
Browse repository at this point
Commits on Jan 25, 2016
CWE: refactoring. use constants instead of magic numbers.
danmar
committed
5e10e68
View commit details
Copy full SHA for 5e10e68
View code at this point
Browse repository at this point
Commits on Jan 24, 2016
Mapped 26 errors to their CWEs ID.
boos
committed
5ce69da
View commit details
Copy full SHA for 5ce69da
View code at this point
Browse repository at this point
Fixed #7209 (False positive: Array index used before limits check reported in sizeof)
danmar
committed
659cd96
View commit details
Copy full SHA for 659cd96
View code at this point
Browse repository at this point
Commits on Jan 18, 2016
This variable type looks very suspicious
Dmitry-Me
committed
afe659c
View commit details
Copy full SHA for afe659c
View code at this point
Browse repository at this point
Commits on Jan 15, 2016
CWE mapping
boos
authored and
danmar
committed
bb68809
View commit details
Copy full SHA for bb68809
View code at this point
Browse repository at this point
Remove repeated code, better variable name
Dmitry-Me
committed
26788a1
View commit details
Copy full SHA for 26788a1
View code at this point
Browse repository at this point
Commits on Jan 1, 2016
Update copyright year to 2007-2016.
lanurmi
committed
996c924
View commit details
Copy full SHA for 996c924
View code at this point
Browse repository at this point
Commits on Dec 23, 2015
Omit unneeded deep copy
Dmitry-Me
committed
5cba4ac
View commit details
Copy full SHA for 5cba4ac
View code at this point
Browse repository at this point
Commits on Dec 22, 2015
Drop useless braces
Dmitry-Me
committed
155ccec
View commit details
Copy full SHA for 155ccec
View code at this point
Browse repository at this point
Commits on Dec 3, 2015
Refactorization: Prefer Token::simpleMatch over Token::Match also for non-const patterns.
PKEuS
committed
32e2fb2
View commit details
Copy full SHA for 32e2fb2
View code at this point
Browse repository at this point
Commits on Nov 30, 2015
CheckBufferOverrun: Remove old checking of strings and use new ValueFlow-based checking instead (#6973)
danmar
committed
9c3f256
View commit details
Copy full SHA for 9c3f256
View code at this point
Browse repository at this point
Commits on Nov 28, 2015
Refactorizations:
Show description for ac17541
PKEuS
committed
ac17541
View commit details
Copy full SHA for ac17541
View code at this point
Browse repository at this point
Cleanup some casts
danmar
committed
6b124a3
View commit details
Copy full SHA for 6b124a3
View code at this point
Browse repository at this point
Commits on Nov 18, 2015
Changed Copyrights. Removed my name.
danmar
committed
0f9d90d
View commit details
Copy full SHA for 0f9d90d
View code at this point
Browse repository at this point
Commits on Nov 9, 2015
CheckBufferOverrun: Fixed FP when accessing string that contains '\0'. Refactoring address-of.
danmar
committed
5074c11
View commit details
Copy full SHA for 5074c11
View code at this point
Browse repository at this point
Commits on Nov 8, 2015
Fixed #7113 (False positive arrayIndexOutOfBounds - using pointer alias with cast)
danmar
committed
ef5be43
View commit details
Copy full SHA for ef5be43
View code at this point
Browse repository at this point
Fixed #7112 (crash: CheckBufferOverrun::checkGlobalAndLocalVariable (invalid code))
danmar
committed
fc564d7
View commit details
Copy full SHA for fc564d7
View code at this point
Browse repository at this point
Refactoring CheckBufferOverrun
danmar
committed
48da1d5
View commit details
Copy full SHA for 48da1d5
View code at this point
Browse repository at this point
Fixed #7104 (False positive arrayIndexOutOfBounds)
danmar
committed
7d6e197
View commit details
Copy full SHA for 7d6e197
View code at this point
Browse repository at this point
Commits on Nov 7, 2015
Try to fix crash when using getMaxValue()
danmar
committed
35ed902
View commit details
Copy full SHA for 35ed902
View code at this point
Browse repository at this point
try to fix internal errors detected by Travis
danmar
committed
32627dc
View commit details
Copy full SHA for 32627dc
View code at this point
Browse repository at this point
CheckBufferOverrun: The simplifyKnownVariables() has been reduced, use ValueFlow instead
danmar
committed
9c7271a
View commit details
Copy full SHA for 9c7271a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.