[H-GEN] malloc() causing a segfault

Raymond Smith raymonds at uq.net.au
Wed Aug 30 23:40:27 EDT 2000


[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics.  Please observe the list's charter.          ]

On Thu, 31 Aug 2000, Andrae Muys wrote:
> Regardless you've corrupted libc's heap management and so
> it's segfaulting at that point.  Good luck, these bugs can be really
> vicious.

Indeed. What does the code in the middle do? Be careful of system/library
calls that take ownership of a pointer and free/resize its memory (look
especially for function calls of the form 'screw_you(char** hippy)').

Cheers,

Raymond

---
raymond at humbug.org.au                     All that we see, or seem,
                                    Is but a dream, within a dream.
                                           -- Edgar Allen Poe


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list