]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Check result of gelf_update_* calls in relocate_section.
authorMark Wielaard <mjw@redhat.com>
Thu, 11 Feb 2016 11:46:03 +0000 (12:46 +0100)
committerMark Wielaard <mjw@redhat.com>
Thu, 18 Feb 2016 13:52:36 +0000 (14:52 +0100)
commitf5622bdfe6baf19d7ea20b467bc7444dc82a53a2
treef9bcad7e5ff6b52c64d4e7250091592cc947cfbe
parentc1e4e29fdaa02c34a6ad5892d627274e796eaa83
libdwfl: Check result of gelf_update_* calls in relocate_section.

For corrupted ELF files the gelf_update calls might fail in which case it
is better to immediately return an error message instead of (silently)
continuing.

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