git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@167 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2003/12/30 12:36:47... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Tue Dec 30 04:33:29 CET 2003 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * libclamav: don't report an error with password protected zip (problem |
|
4 |
+ reported by Brian Bruns <bruns*2mbit.com>) |
|
5 |
+ |
|
1 | 6 |
Mon Dec 29 06:19:54 CET 2003 (tk) |
2 | 7 |
--------------------------------- |
3 | 8 |
* freshclam: it's now configurable via freshclam.conf (which may be merged |
... | ... |
@@ -250,7 +250,8 @@ int cli_scanzip(int desc, char **virname, long int *scanned, const struct cl_nod |
250 | 250 |
if((zdir = zzip_dir_fdopen(dup(desc), &err)) == NULL) { |
251 | 251 |
cli_dbgmsg("Zip -> Not supported file format ?.\n"); |
252 | 252 |
cli_dbgmsg("zzip_dir_fdopen() return code: %d\n", err); |
253 |
- return CL_EZIP; |
|
253 |
+ /* no return with CL_EZIP due to password protected zips */ |
|
254 |
+ return CL_CLEAN; |
|
254 | 255 |
} |
255 | 256 |
|
256 | 257 |
fstat(desc, &source); |