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
ee00925dc5
cppcheck
/
samples
/
bufferAccessOutOfBounds
/
bad.c
9 lines
103 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