Menu

#553 Memory leak in libdwarf

RELEASE_1_0
new
None
libdwarf
2017-09-03
2017-09-03
No

This ticket is based on an email from John Kearney dethrophes@gmail.com to elftoolchain-developers:

dwarf_init() allocates an ELF structure internally, but dwarf_elf_init() expects this to be passed in from outside. We need to track whether or not libdwarf had allocated the ELF structure associated with a Dwarf_Debug structure, otherwise we would have a memory leak.

Discussion


Log in to post a comment.