Tests: Added 'TestBufferOverrun5'
This commit is contained in:
parent
45c5871503
commit
ac3073e9fd
|
@ -0,0 +1 @@
|
|||
[testbufferoverrun5\testbufferoverrun5.cpp:8]: Array index out of bounds
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
const int SIZE = 10;
|
||||
|
||||
void f()
|
||||
{
|
||||
int i[SIZE];
|
||||
i[SIZE] = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue