Fix seg-fault in strip when copying a file containing corrupt secondary relocs.
authorNick Clifton <nickc@redhat.com>
Wed, 18 Mar 2020 12:12:07 +0000 (12:12 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 18 Mar 2020 12:12:07 +0000 (12:12 +0000)
commitac4bf06ca22b641b10fe37763bf57e177ee22864
tree933fb96cda97d524f3f99982803edd1c69cdc26f
parent53215f214c61b850085196a8d69774eed026ecd9
Fix seg-fault in strip when copying a file containing corrupt secondary relocs.

PR 25673
* elf.c (_bfd_elf_write_secondary_reloc_section): Fix illegal
memory access when processing a corrupt secondary reloc section.
bfd/ChangeLog
bfd/elf.c