... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Tue Nov 2 13:01:14 EET 2010 (edwin) |
|
2 |
+------------------------------------ |
|
3 |
+ * libclamav/7z.c: fix file descriptor leak (bb #2347) |
|
4 |
+ |
|
1 | 5 |
Mon Oct 18 11:35:45 EEST 2010 (edwin) |
2 | 6 |
------------------------------------- |
3 | 7 |
* clamd, libclamavll: add ability to logg messages from libclamav (bb #1965) |
... | ... |
@@ -69,6 +69,7 @@ int cli_7unz (int fd, cli_ctx *ctx) { |
69 | 69 |
if(SzArEx_Open(&db, &lookStream.s, &allocImp, &allocTempImp) != SZ_OK) { |
70 | 70 |
SzArEx_Free(&db, &allocImp); |
71 | 71 |
cli_dbgmsg("cli_7unz: possibly damaged archive\n"); |
72 |
+ fclose(archiveStream.file.file); |
|
72 | 73 |
return CL_CLEAN; |
73 | 74 |
} |
74 | 75 |
for (i = 0; i < db.db.NumFiles; i++) { |