cppcheck/samples/bufferAccessOutOfBounds/out.txt

4 lines
164 B
Plaintext

samples\bufferAccessOutOfBounds\bad.c:6:10: warning: Array 'a[2]' accessed at index 2, which is out of bounds. [arrayIndexOutOfBounds]
a[i] = 0;
^