Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 1997 15:18:16 -0700
From:      Dave Hayes <dave@jetcafe.org>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Graham Wheeler <gram@cdsec.com>, hackers@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: Bug in malloc/free (was: Memory leak in getservbyXXX?) 
Message-ID:  <199709232218.PAA18505@hokkshideh.jetcafe.org>

next in thread | raw e-mail | index | archive | help
Jordan K Hubbard <jkh@time.cdrom.com> writes:
>> This would indicate a bug of the class where memory is written to
>> after being free()'ed, a kind of bug which phkmalloc makes no
>> attempt to catch.
> Man, I sure wish there was a copy of purify available for FreeBSD.
> It's great at catching stuff like this! :(

So was "leak", which was a DBM style wrapper to malloc/free. It would
keep track of what you'd free'd and malloc'd and warn you when you
were screwing up. Leak was public domain, but I have no idea where to
get it. I have a hacked copy if anyone wants want.
------
Dave Hayes - Altadena CA, USA - dave@jetcafe.org 
  >>> The opinions expressed above are entirely my own <<<
Freedom Knight of Usenet - http://www.jetcafe.org/~dave/usenet

   Enjoyment is not a goal,
      it is a feeling that accompanies important ongoing activity






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709232218.PAA18505>