more autoit

git-svn: trunk@3344
remotes/push_mirror/metadata
aCaB 18 years ago
parent e5fc19269a
commit 4861d4b6f3
  1. 5
      libclamav/autoit.c

@ -193,8 +193,9 @@ static int ea05(int desc, cli_ctx *ctx, char *tmpd) {
}
s = cli_readint32((char *)buf+4) ^ 0x29bc;
buf=b;
if(cli_debug_flag && s<300) {
if ((int32_t)s<0)
return CL_CLEAN; /* the original code wouldn't seek back here */
if(cli_debug_flag && s<sizeof(b)) {
if (cli_readn(desc, buf, s)!=(int)s)
return CL_CLEAN;
buf[s]='\0';

Loading…
Cancel
Save