commit | 5c1a45c2d370e7fd1149fa74a9382e202fbfe8fe | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Mon Nov 17 23:15:45 2014 +0100 |
committer | Mark Wielaard <mjw@redhat.com> | Mon Nov 17 23:19:03 2014 +0100 |
tree | b41fc506962bb78a5b9176600abd968146bc7e2b | |
parent | 7df0da33f4789e264242a4cb8af30c0aefe6d6b4 [diff] |
Check elf_strptr didn't fail getting section name. Since elf_strptr can fail and return NULL we should always check the result before usage. Debug sections are only handled by section name, so make sure the name actually exists. Signed-off-by: Mark Wielaard <mjw@redhat.com>