* Apply security patches from Erik Hovland - Thanks!
This commit is contained in:
1 parent
3a1053b29e
commit
a6ef73359c
10 files changed
+50
-36
No files matched your search
@@ -60,6 +60,7 @@ int compress_image(char *srcf, char *dstf, int w, int h)
|
||||
fdout = open( dstf, O_TRUNC | O_CREAT | O_WRONLY , 0660 );
|
||||
if (fdout == -1) {
|
||||
printf("Cannot open file '%s' for writing\n", dstf);
|
||||
fclose(fd);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user