properly report archive unpacking errors

git-svn: trunk@1880
remotes/push_mirror/metadata
Tomasz Kojm 19 years ago
parent 1632800207
commit 00f4215984
  1. 6
      clamav-devel/ChangeLog
  2. 2
      clamav-devel/libclamav/scanners.c

@ -1,3 +1,9 @@
Wed Mar 29 15:45:03 CEST 2006 (tk)
----------------------------------
* libclamav/scanners.c: properly report archive unpacking errors
Problem spotted by David F. Skoll
<dfs*roaringpenguin.com>
Sun Mar 26 22:33:42 CEST 2006 (tk)
----------------------------------
* clamd/session.c: remove static timeout (5s) for SESSION

@ -1770,7 +1770,7 @@ int cli_magic_scandesc(int desc, cli_ctx *ctx)
type == CL_TYPE_MAIL ? ctx->mrec-- : ctx->arec--;
if(type != CL_TYPE_DATA && ret != CL_VIRUS && !ctx->engine->sdb) {
if((ret = cli_scanraw(desc, ctx, type) == CL_VIRUS))
if(cli_scanraw(desc, ctx, type) == CL_VIRUS)
return CL_VIRUS;
}

Loading…
Cancel
Save