Fix a dereference of NULL when scanning the symbol hashes array in the ARM linker.
authorNick Clifton <nickc@redhat.com>
Tue, 6 Dec 2022 11:24:12 +0000 (11:24 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 6 Dec 2022 11:24:12 +0000 (11:24 +0000)
commit83f18e5ebe627163f744215d3760a8eaacee6ec1
treee1be74d568ea7da55b75e916990b0dad10ecba69
parent8db40179f0e61c2145a4470afa47fb1945a8d9c8
Fix a dereference of NULL when scanning the symbol hashes array in the ARM linker.

PR 29852
* elf32-arm.c (cmse_scan): Check for NULL entries in the
sym_hashes array.
(elf32_arm_gc_mark_extra_sections): Likewise.
bfd/ChangeLog
bfd/elf32-arm.c