cppcheck/samples/arrayIndexOutOfBounds/bad.c

9 lines
88 B
C
Raw Normal View History

int main()
{
int a[2];
a[0] = 0;
a[1] = 0;
a[2] = 0;
return a[0];
}