Try this patch in .../clamav-devel/libclamav:
*** Oothers.c 2005-11-28 09:01:06.000000000 +0000
--- others.c 2005-11-28 09:02:03.000000000 +0000
***************
*** 354,360 ****
cli_errmsg("cli_realloc(): Can't re-allocate memory to %d
byte.\n", size);
perror("realloc_problem");
return NULL;
! } else return alloc;
}
unsigned int cli_rndnum(unsigned int max)
--- 354,366 ----
cli_errmsg("cli_realloc(): Can't re-allocate memory to %d
byte.\n", size);
perror("realloc_problem");
return NULL;
! }
! if(alloc == ptr) {
! cli_errmsg("cli_realloc(): Can't re-allocate memory to %u
bytes\n", size);
! free(ptr);
! return NULL;
! }
! return alloc;
}
unsigned int cli_rndnum(unsigned int max)
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html