Fix a illegal memory access fault when parsing a corrupt MIPS option section using...
authorNick Clifton <nickc@redhat.com>
Wed, 20 Feb 2019 17:03:47 +0000 (17:03 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 20 Feb 2019 17:03:47 +0000 (17:03 +0000)
commit7fc0c668f2aceb8582d74db1ad2528e2bba8a921
tree4659f56abe2bac3bce2ebad0fcc1cba438ddc38d
parent8d18bf796bf70d71eb23f4247e29a1fab5f3c5c7
Fix a illegal memory access fault when parsing a corrupt MIPS option section using readelf.

PR 24243
* readelf.c (process_mips_specific): Check for an options section
that is too small to even contain a single option.
binutils/ChangeLog
binutils/readelf.c