cppcheck/testbufferoverrun2/testbufferoverrun2.cpp

8 lines
91 B
C++

void f()
{
int val[50];
for (i = 0; i < 100; i++)
sum += val[i];
}