Libc6 malloc bites?

Sam Couter sam at topic.com.au
Mon Sep 3 12:52:36 EST 2001


jeremy at itassist.net.au <jeremy at itassist.net.au> wrote:
> 
> OK, cool.  Can you tell me how I could check to see if malloc is being
> passed a bad pointer?

Try using NJAMD or ElectricFence or dmalloc or another one of the million
and one malloc debugging libraries available. They can tell you if malloc()
or free() are being passed dodgy pointers, as well as other useful
information.
-- 
Sam Couter          |   Internet Engineer   |   http://www.topic.com.au/
sam at topic.com.au    |   tSA Consulting      |
OpenPGP key ID:       DE89C75C,  available on key servers
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20010903/146895d6/attachment.bin


More information about the linux mailing list