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
10e6828fa9
cppcheck
/
samples
/
bufferAccessOutOfBounds
/
bad.c
10 lines
104 B
C
Raw
Blame
History
int
main
(
)
{
int
a
[
2
]
;
int
i
;
for
(
i
=
0
;
i
<
3
;
i
+
+
)
a
[
i
]
=
0
;
return
a
[
0
]
;
}
Reference in New Issue
View Git Blame
Copy Permalink