PR23945, NULL pointer dereference in readelf.c:slurp_hppa_unwind_table
authorAlan Modra <amodra@gmail.com>
Sat, 1 Dec 2018 10:45:03 +0000 (21:15 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 1 Dec 2018 11:40:28 +0000 (22:10 +1030)
commit726bd37d6c5d5013d34023044ed7cbbb01317978
tree06d2322ccec05d246724e5ae9008601323446940
parent64d27cfc97f5b865019f0b7293ff2b9565db427c
PR23945, NULL pointer dereference in readelf.c:slurp_hppa_unwind_table

PR 23945
* readelf.c (slurp_ia64_unwind_table): Don't call elf_ia64_reloc_type
needlessly.
(slurp_hppa_unwind_table): Use same range checks and error messages
as slurp_ia64_unwind_table.
binutils/ChangeLog
binutils/readelf.c