cppcheck/samples/outOfBounds/bad.c

7 lines
88 B
C

#include <stdio.h>
int main()
{
char str[5];
strcpy(str, "0123456789abcdef");
}