Skip to content

Commit 62381d0

Browse files
authored
Update test.cpp
1 parent de92356 commit 62381d0

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/experimental/query-tests/Security/CWE/CWE-377/semmle/tests

1 file changed

+1
-1
lines changed

cpp/ql/test/experimental/query-tests/Security/CWE/CWE-377/semmle/tests/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ int funcTest3()
3939
FILE *fp;
4040
char filename[80];
4141
strcat(filename, "/tmp/tmp.name");
42-
fp = fopen(filename,"w"); // BAD
42+
fp = fopen(filename,"w"); // BAD [NOT DETECTED]
4343
fprintf(fp,"%s\n","data to file");
4444
fclose(fp);
4545
return 0;

0 commit comments

Comments
 (0)