PR23141, SIGSEGV in bfd_elf_set_group_contents
authorAlan Modra <amodra@gmail.com>
Tue, 8 May 2018 05:02:04 +0000 (14:32 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 8 May 2018 12:59:39 +0000 (22:29 +0930)
commit886d542809fd73fba55ba72da1bd64ba50164222
treec7be28e761b2f09d9a3e3f09ccd29b056b24c07d
parentf413a91378902aadbe4e338a6dc8f33f5f7148a0
PR23141, SIGSEGV in bfd_elf_set_group_contents

Another fuzzing fix.  I think it's reasonable to simply strip out any
group section that is too weird for objcopy to handle.

PR 23141
* objcopy.c (is_strip_section): Strip groups without a valid
signature symbol.
binutils/ChangeLog
binutils/objcopy.c