Test: Updated 'TestBufferOverrun2'. Bufferusage out of bounds.

This commit is contained in:
Daniel Marjamäki 2007-05-21 17:18:50 +00:00
parent 39aef96ee6
commit 63dd654ae4
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
void f()
{
char str[50];
int val[50];
for (i = 0; i < 100; i++)
str[i] = 0;
sum += val[i];
}