This website requires JavaScript.
Explore
Help
Sign In
walkero
/
cppcheck
Watch
1
Star
0
Fork
You've already forked cppcheck
0
Code
Issues
Pull Requests
Projects
Releases
1
Wiki
Activity
56747e4af9
cppcheck
/
samples
/
outOfBounds
/
bad.c
7 lines
100 B
C
Raw
Normal View
History
Unescape
Escape
Fixing #3515 (Add samples/id/good|bad.cpp) http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-22 14:52:31 +01:00
#
include
<stdio.h>
int
main
(
)
{
char
str
[
5
]
;
Cleaned up snprintf hardcoding in CheckBufferOverrun
2015-02-13 06:44:38 +01:00
snprintf
(
str
,
10
,
"
%s
"
,
"
0123456789abcdef
"
)
;
Fixing #3515 (Add samples/id/good|bad.cpp) http://sourceforge.net/apps/trac/cppcheck/ticket/3515
2012-01-22 14:52:31 +01:00
}