[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dangling pointer bug and proposed patch
From: |
Eric Blake |
Subject: |
Re: dangling pointer bug and proposed patch |
Date: |
Thu, 19 Jan 2006 06:18:45 -0700 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[moving discussion to m4-patches]
According to john on 1/18/2006 7:37 PM:
> Hello,
>
> There is a dangling pointer bug in GNU m4, exposed by this example:
>
> $ m4 -dqeat
> define(`f',`one')f(undefine(`f')`two')
> m4trace: -1- define(`f', `one')
> m4trace: -2- undefine(`f')
> m4trace: -1- øò·øò·(`two') -> `øò·øò·H'
> øò·øò·H
Thanks for catching that, and a great analysis of the issue!
Also, could you check if the bug is still present on CVS head?
>
> A patch for the proposed fix against m4-1.4.4 is also attached.
> (The branch name m4-1.4.4.1 is just for my own convenience.)
Unfortunately, the patch is too big to be considered trivial; are you
willing to assign copyright to the FSF? This is a legal necessity before
your patch can be applied.
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDz5G184KuGfSFAYARAlx+AKCkbDyV9yhCNnexBQRnJZKjoXCs0QCfeVQ3
CmNxUi/yF8HCnUoPolj7RkA=
=6fZ6
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: dangling pointer bug and proposed patch,
Eric Blake <=