pull/1/head
David Raynor 12 years ago
parent 10882c9f38
commit 9eff941820
  1. 3
      libclamav/unzip.c

@ -1,5 +1,5 @@
/*
* Copyright (C) 2007-2008 Sourcefire, Inc.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Alberto Wu
*
@ -284,6 +284,7 @@ static int unz(const uint8_t *src, uint32_t csize, uint32_t usize, uint16_t meth
cli_dbgmsg("cli_unzip: call to lseek() failed\n");
if (!(tmpd))
free(tempfile);
close(of);
return CL_ESEEK;
}
ret = cli_magic_scandesc(of, ctx);

Loading…
Cancel
Save