We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de92356 commit 62381d0Copy full SHA for 62381d0
1 file changed
cpp/ql/test/experimental/query-tests/Security/CWE/CWE-377/semmle/tests/test.cpp
@@ -39,7 +39,7 @@ int funcTest3()
39
FILE *fp;
40
char filename[80];
41
strcat(filename, "/tmp/tmp.name");
42
- fp = fopen(filename,"w"); // BAD
+ fp = fopen(filename,"w"); // BAD [NOT DETECTED]
43
fprintf(fp,"%s\n","data to file");
44
fclose(fp);
45
return 0;
0 commit comments