0.98.2
Shawn Webb 11 years ago
parent ad8ddf986a
commit 762c9ae3a6
  1. 2
      libclamav/openioc.c

@ -269,7 +269,7 @@ int openioc_parse(const char * fname, int fd, struct cl_engine *engine, unsigned
hashlen--;
}
virusname = calloc(1, ioclen+hashlen+1);
if (NULL == vp) {
if (NULL == virusname) {
cli_dbgmsg("openioc_parse: mpool_malloc for virname memory failed.\n");
xmlTextReaderClose(reader);
xmlFreeTextReader(reader);

Loading…
Cancel
Save