Update test.cpp

This commit is contained in:
ihsinme
2022-03-14 09:36:28 +03:00
committed by GitHub
parent de92356c88
commit 62381d0762

View File

@@ -39,7 +39,7 @@ int funcTest3()
FILE *fp;
char filename[80];
strcat(filename, "/tmp/tmp.name");
fp = fopen(filename,"w"); // BAD
fp = fopen(filename,"w"); // BAD [NOT DETECTED]
fprintf(fp,"%s\n","data to file");
fclose(fp);
return 0;