cppcheck/samples/bufferAccessOutOfBounds/good.c

9 lines
103 B
C

int main()
{
int a[3];
int i;
for (i = 0; i < 3; i++)
a[i] = 0;
return a[0];
}