]> git.ipfire.org Git - thirdparty/elfutils.git/commit
strings: Handle failure of getting section name on bogus section data.
authorMark Wielaard <mjw@redhat.com>
Thu, 18 Jun 2015 09:00:51 +0000 (11:00 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 19 Jun 2015 10:29:46 +0000 (12:29 +0200)
commitafd11605de0d2e16e8a2fa3094fa468b1901cd5e
treebae7bacc2f4ec013cd46c56ddb09e4a2631b30a5
parentaec69c7f2adcf9674f025c7f79cbeabbbd4e6b6a
strings: Handle failure of getting section name on bogus section data.

If there is something wrong with getting the section data it is likely
we won't be able to get the actual section name because the file is
somehow corrupted. Try to get the name, but handle failure gracefully.

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