bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invalid free() bug


From: Andrew J. Schorr
Subject: Re: invalid free() bug
Date: Thu, 20 Jul 2006 14:53:35 -0400
User-agent: Mutt/1.4.2.1i

On Thu, Jul 20, 2006 at 01:24:59AM +0200, Michael Brennan wrote:
> giving gawk a nonexistent file as argument at the command line
> will invoke free() on an invalid pointer.
> This occurs with version 1.3.5
> 
> Example:
> gawk '{}' abc
> *** glibc detected *** free(): invalid pointer: 0x08093340 ***
> Abort
> 
> I've traced the error to function iop_alloc() which tries to
> free *iop, which is static, if fd is invalid.

FYI, this is a known bug.  The fix is here:

http://lists.gnu.org/archive/html/bug-gnu-utils/2006-07/msg00002.html

Regards,
Andy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]