rpm-build/tools
Mark Wielaard df15b0d018 debugedit: Check .debug_str index is valid before use.
debugedit would blindly use an .debug_str index from the .debug_info or
.debug_line sections assuming it would result in a valid string. Which
would crash and burn if the DWARF data was bogus when the string was
used. So check whenever converting an string index into a char pointer
so we can produce a more helpful error message.

https://bugzilla.redhat.com/show_bug.cgi?id=1543912

Signed-off-by: Mark Wielaard <mark@klomp.org>
2018-03-09 16:22:33 +02:00
..
debugedit.c debugedit: Check .debug_str index is valid before use. 2018-03-09 16:22:33 +02:00