This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lto][patch] Avoid use of freed memory


Diego Novillo wrote:
On 8/11/08 5:59 PM, Simon Baldwin wrote:

* lto-section-out.c (produce_asm_for_decls): Move htab_delete() call up to avoid use of output block 'ob' after it's been freed.

OK. The CL entry does not need to explain *why* the change was needed, so you can elide everything after 'call up'.

Thanks. Committed as revision 139007.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]