commit | 903f334ef06fbec28d23b7c8ea3c79cacc1da14f | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Tue May 27 10:25:27 2014 +0200 |
committer | Mark Wielaard <mjw@redhat.com> | Tue May 27 22:00:46 2014 +0200 |
tree | d3c078fee507dc398a1900d1cf759c73f6961856 | |
parent | eb4811dee133864ebbab1a062ac14af1f3ffdc62 [diff] |
readelf: Skip section if name is NULL in print_debug. Don't crash and burn when a section doesn't have a name (possibly invalid ELF file string table). Just try the next section instead of calling strcmp on NULL. Signed-off-by: Mark Wielaard <mjw@redhat.com>