Files
tubestation/tools/clang-tidy/test/clang-analyzer-security.insecureAPI.strcpy.cpp

8 lines
86 B
C++

#include <string.h>
void test() {
char x[4];
char *y = "abcd";
strcpy(x, y);
}