Prevent an illegal memory access in readelf when attempting to parse a corrupt ELF...
authorNick Clifton <nickc@redhat.com>
Thu, 30 Nov 2017 10:25:01 +0000 (10:25 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 30 Nov 2017 10:25:01 +0000 (10:25 +0000)
commitf425ec6600b69e39eb605f3128806ff688137ea8
treed23913f111758af5cfb8cd4d412ae2432a29baf1
parente8020e54f4b9ac05150c4b02fa81e228d6cf1f6a
Prevent an illegal memory access in readelf when attempting to parse a corrupt ELF file.

PR 22510
* readelf.c (load_debug_section): Fail if there are no section
headers available.
binutils/ChangeLog
binutils/readelf.c