Prevent a run time segmentation fault when stripping a corrupt binary.
authorNick Clifton <nickc@redhat.com>
Wed, 18 May 2016 14:21:16 +0000 (15:21 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 18 May 2016 14:21:16 +0000 (15:21 +0100)
commitf507bebf459de9b145bd8ccfcfa2f5f6690adac4
tree770249a1ffeb0acbf73a61951c22e1e9d49e0583
parent9e8f9b05add4517189d7724ff3ed7c16f7b04daf
Prevent a run time segmentation fault when stripping a corrupt binary.

PR 20096
* objcopy.c (copy_relocations_in_section): Also check for the
symbol pointed to by sym_ptr_ptr being NULL.
binutils/ChangeLog
binutils/objcopy.c