memory leak in inflate.c

Vijay.Singh at Vijay.Singh at
Tue Mar 15 12:22:45 PST 2005

Thanks. Could someone generate the patch as I dont have the latest
FreeBSD source checked out.


-----Original Message-----
From: owner-freebsd-hackers at
[mailto:owner-freebsd-hackers at]On Behalf Of ext Marc Olzheim
Sent: Tuesday, March 15, 2005 11:31 AM
To: Marco Molteni
Cc: freebsd-hackers at
Subject: Re: memory leak in inflate.c

On Mon, Mar 14, 2005 at 09:43:52PM +0100, Marco Molteni wrote:
> On Mon, 14 Mar 2005 <Vijay.Singh at> 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.


More information about the freebsd-hackers mailing list