|
Re: ClamAV infinite loop: msg#00033security.virus.clamav.devel
Stephen Gran wrote: On Sun, Nov 27, 2005 at 02:03:59PM +0000, Nigel Horne said: Untrue, it can also fail if the call to realloc fails. It is true that from realloc(3): "If realloc() fails the original block is left untouched - it is not freed or moved." In this case I would argue that it would be better, and more consistent, for cli_realloc to fail, since for clamAV the action of realloc to return the original pointer if realloc fails is useless. But that is an issue with cli_realloc, NOT with mbox.c as implied by the OP. -- 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: 00033, Nigel Horne |
|---|---|
| Next by Date: | Re: ClamAV infinite loop: 00033, Nigel Horne |
| Previous by Thread: | Re: ClamAV infinite loopi: 00033, Stephen Gran |
| Next by Thread: | Re: ClamAV infinite loop: 00033, Nigel Horne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |