print temp filenames in cli_scanzip() (bb#138)

git-svn: trunk@2618
remotes/push_mirror/metadata
Tomasz Kojm 19 years ago
parent d08d2bd0e4
commit e4e2058a4d
  1. 4
      clamav-devel/ChangeLog
  2. 13
      clamav-devel/libclamav/scanners.c

@ -1,3 +1,7 @@
Sat Jan 13 13:33:53 CET 2007 (tk)
---------------------------------
* libclamav/scanners.c: print temp filenames in cli_scanzip() (bb#138)
Sat Jan 13 01:28:09 CET 2007 (tk)
---------------------------------
* sigtool: ask for fl when building main.cvd

@ -508,10 +508,15 @@ static int cli_scanzip(int desc, cli_ctx *ctx, off_t sfx_offset, uint32_t *sfx_c
zip_file_close(zfp);
if(!encrypted && size != zdirent.st_size) {
cli_dbgmsg("Zip: Incorrectly decompressed (%d != %d)\n", size, zdirent.st_size);
ret = CL_EZIP;
break;
if(!encrypted) {
if(size != zdirent.st_size) {
cli_dbgmsg("Zip: Incorrectly decompressed (%d != %d)\n", size, zdirent.st_size);
ret = CL_EZIP;
break;
} else {
cli_dbgmsg("Zip: File decompressed to %s\n", tmpname);
}
}
if(fflush(tmp) != 0) {

Loading…
Cancel
Save