bad free in ctf_dwarf_init_die
We need to initialize dies properly so that if we fail, and free them, it works cleanly.
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 3eca610387779e26c8c63e26d2ba418b0cd1bf5a Author: John Levon <email@example.com> Date: 2019-05-03T09:15:58.000Z 10816 ctf_dwarf_convert_type() relies on un-initialized id 10817 ctfconvert -i option is mis-handled 10818 Improve ctfconvert error messages 10819 ctfconvert should handle empty dies 10820 ctfconvert -i never converts 10821 bad free in ctf_dwarf_init_die 10815 shouldn't build gcore.c as part of kmdb Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Jerry Jelinek <email@example.com> Approved by: Gordon Ross <firstname.lastname@example.org>