Test: Updated 'TestBufferOverrun2'. Bufferusage out of bounds.
This commit is contained in:
parent
39aef96ee6
commit
63dd654ae4
|
@ -2,7 +2,7 @@
|
|||
|
||||
void f()
|
||||
{
|
||||
char str[50];
|
||||
int val[50];
|
||||
for (i = 0; i < 100; i++)
|
||||
str[i] = 0;
|
||||
sum += val[i];
|
||||
}
|
Loading…
Reference in New Issue