git-svn: trunk@1506
Tomasz Kojm authored on 2005/04/30 09:52:30... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Sat Apr 30 02:50:11 CEST 2005 (tk) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/scanners.c: do not report I/O error with encrypted zips |
|
4 |
+ |
|
1 | 5 |
Fri Apr 29 03:19:44 CEST 2005 (tk) |
2 | 6 |
---------------------------------- |
3 | 7 |
* shared/misc.c: improve isnumb() (thanks to NJH) and move it to misc.c |
... | ... |
@@ -450,7 +450,7 @@ static int cli_scanzip(int desc, const char **virname, long int *scanned, const |
450 | 450 |
|
451 | 451 |
zzip_file_close(zfp); |
452 | 452 |
|
453 |
- if(size != zdirent.st_size) { |
|
453 |
+ if(!encrypted && size != zdirent.st_size) { |
|
454 | 454 |
cli_dbgmsg("Zip: Incorrectly decompressed (%d != %d)\n", size, zdirent.st_size); |
455 | 455 |
ret = CL_EIO; |
456 | 456 |
break; |