diff options
author | Nick Clifton <nickc@redhat.com> | 2016-12-06 16:53:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-12-06 16:53:57 +0000 |
commit | 4f3ca05b487e9755018b4c9a053a2e6c35d8a7df (patch) | |
tree | e959ef5fd42c27c1269f2fd67ed6069f546a856c /gdb/inferior.c | |
parent | 8b929e420a810afe23d5ba57a98109c74d1d5816 (diff) | |
download | gdb-4f3ca05b487e9755018b4c9a053a2e6c35d8a7df.zip gdb-4f3ca05b487e9755018b4c9a053a2e6c35d8a7df.tar.gz gdb-4f3ca05b487e9755018b4c9a053a2e6c35d8a7df.tar.bz2 |
Fix seg-fault in strip when copying a corrupt binary.
PR binutils/20931
* elf.c (copy_special_section_fields): Check for an invalid
sh_link field before attempting to follow it.
Diffstat (limited to 'gdb/inferior.c')
0 files changed, 0 insertions, 0 deletions