This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO][PATCH] Fix dangling pointer use bug.
- From: "Rafael Espindola" <espindola at google dot com>
- To: "Doug Kwan (éæå)" <dougkwan at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "Diego Novillo" <dnovillo at google dot com>
- Date: Thu, 21 Aug 2008 09:07:26 +0100
- Subject: Re: [LTO][PATCH] Fix dangling pointer use bug.
- References: <498552560808201923l22cd7b37q435493bdec77cab8@mail.gmail.com>
2008/8/21 Doug Kwan (éæå) <dougkwan@google.com>:
> Hi,
>
> This patch fixes a use of a dangling pointer ob->main_hash_table
> after the output block pointed to by ob has been deleted. Tested on
> i686-unknown-linux-gnu.
I have a fix for the same bug in code review with Diego, but yours is
more complete. Not sure if I can approve it, but if I can it is OK :-)
> -Doug
Thanks,
--
Rafael Avila de Espindola
Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland
Registered in Dublin, Ireland
Registration Number: 368047