Just a minor new twist on free()
Randy Tidd
rtidd at ccels3
Tue Oct 2 00:27:37 AEST 1990
In article <1990Oct01.020420.3401 at virtech.uucp> cpcahil at virtech.UUCP (Conor P. Cahill) writes:
>
> [ ... ]
>
>A while back I put together a debugging library for malloc and it's
>associated functions which was posted to comp.sources.unix back in may/june.
>This library purposely trashes data pointed to by the free'd pointer to
>ensure that you aren't using a freed pointer (in addition to lots
>of other checks, like overrunning the amount of malloc data that you
>asked for).
>
>If you are working with malloc'd data, you might want to get a copy of
>the library. It makes solving most malloc problem easy.
I checked comp.sources.unix on my news server and it doesn't have ANY
messages in it, much less the ones from may/june. If anyone has a copy
of the routines Conor talks about here, can they mail them to me? I
tried mailing him directly but it bounced.
Thanks in advance!
Randy Tidd
rtidd at mwunix.mitre.org
"It's easier to get forgiveness than permission."
More information about the Comp.lang.c
mailing list