]> git.ipfire.org Git - thirdparty/elfutils.git/commit
getcfi_scn_eh_frame: Don't crash and burn when .eh_frame bits aren't there.
authorMark Wielaard <mjw@redhat.com>
Tue, 2 Jul 2013 09:22:35 +0000 (11:22 +0200)
committerMark Wielaard <mjw@redhat.com>
Mon, 8 Jul 2013 10:24:08 +0000 (12:24 +0200)
commit5704c8c4fa717b6e9c2d2e4304dfbc810ad42e4b
tree5a3138ec873ae3713fa969accc9799a10bd789f6
parent79277076db51fd0d025168c85074bf0370d70738
getcfi_scn_eh_frame: Don't crash and burn when .eh_frame bits aren't there.

Trying to read non-existing bits sometimes works and normally a sanity
check will fail. But it could also lead to an unexpected crash much later
when trying to use the non-existing data.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdw/ChangeLog
libdw/dwarf_getcfi_elf.c