This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: [PATCH] Fix sig8_hash memory leak in libdw/dwarf_begin_elf.c if not valid_p.


On Tue, Dec 18, 2012 at 12:50:12PM -0800, Roland McGrath wrote:
> What about the other error cases in dwarf_begin_elf?

Those should of course clean up too, after Dwarf_Sig8_Hash_init () has
been called. Missed them because they are "real errors", while valid_p ()
is called more often for normal ELF files that just happen to not have
any valid DWARF sections.

Thanks,

Mark

Attachment: 0001-Fix-sig8_hash-memory-leak-in-libdw-dwarf_begin_elf.c.patch
Description: Text document


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