On Mon, Mar 14, 2005 at 09:43:52PM +0100, Marco Molteni wrote:
> On Mon, 14 Mar 2005 <[EMAIL PROTECTED]> wrote:
> > Hi, I am trying to debug a memory leak in executing gzipped binaries
                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
> > when the parameter list is too long. The function in question is
> > inflate_dynamic(). 
>
> _If_ I remember correctly, if inflate_dynamic() returns a non-zero
> code it means that the decompression failed and the program itself
> quits right away, no memory leak. Or am I missing something?

Your missing something: /usr/src/sys/kern/inflate.c ;-)

Looks like a good patch to me.

Marc

Attachment: pgpGxhud3Bc5I.pgp
Description: PGP signature

Reply via email to