diff -u clamav-0.97.5+dfsg/debian/changelog clamav-0.97.5+dfsg/debian/changelog --- clamav-0.97.5+dfsg/debian/changelog +++ clamav-0.97.5+dfsg/debian/changelog @@ -1,3 +1,12 @@ +clamav (0.97.5+dfsg-1ubuntu0.12.04.3) precise-security; urgency=low + + * SECURITY REGRESSION: Fix scanning failure. (LP: #1015405) + - Upstream commit 6a879ad98460303b23a6fc119769a3b463a902f8 to fix unpack + errors for various compressed files including some .bz2, .xls, .doc, and + PDF + + -- Scott Kitterman Tue, 14 Aug 2012 21:51:52 -0400 + clamav (0.97.5+dfsg-1ubuntu0.12.04.2) precise-security; urgency=low * SECURITY REGRESSION: Fix installation issue. (LP: #1015337) only in patch2: unchanged: --- clamav-0.97.5+dfsg.orig/libclamav/scanners.c +++ clamav-0.97.5+dfsg/libclamav/scanners.c @@ -2369,7 +2369,19 @@ ctx->fmap--; cli_bitset_free(ctx->hook_lsig_matches); ctx->hook_lsig_matches = old_hook_lsig_matches; - ret_from_magicscan(ret); + /* Same switch as end of magic_scandesc function */ + switch(ret) { + case CL_EFORMAT: + case CL_EMAXREC: + case CL_EMAXSIZE: + case CL_EMAXFILES: + cli_dbgmsg("Descriptor[%d]: %s\n", desc, cl_strerror(ret)); + case CL_CLEAN: /* here, only from cli_checkfp() */ + cache_add(hash, hashed_size, ctx); + ret_from_magicscan(CL_CLEAN); + default: + ret_from_magicscan(ret); + } } }