|
Re: ClamAV infinite loop: msg#00032security.virus.clamav.devel
Brian Bebeau wrote: Nigel Horne wrote: Have you looked at your stderr? Possibly it doesn't fail because it's not trying to alloc as Have you actually looked at cli_realloc? Here's another place it can fail, this time if the malloc of a a small number of bytes doesn't work: alloc = realloc(ptr, size); if(!alloc) { cli_errmsg("cli_realloc(): Can't re-allocate memory to %d byte.\n", size); perror("realloc_problem"); return NULL; } else return alloc; -- Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 njh@xxxxxxxxxxxxx http://www.bandsman.co.uk _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ClamAV infinite loop: 00032, Stephen Gran |
|---|---|
| Next by Date: | Re: ClamAV infinite loop: 00032, Nigel Horne |
| Previous by Thread: | Re: ClamAV infinite loopi: 00032, Brian Bebeau |
| Next by Thread: | Re: ClamAV infinite loop: 00032, Stephen Gran |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |