Fix an invalid memory access triggered by running readelf on a fuzzed binary.
authorNick Clifton <nickc@redhat.com>
Fri, 6 Feb 2015 12:59:25 +0000 (12:59 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 6 Feb 2015 13:03:08 +0000 (13:03 +0000)
commit55325047241cf38dae3c6a577561c740a9024bf3
tree662ac09d63a5a42bb768e12cdb62760e2eefb4e0
parent9e2dec471006de3e0489a34fbeb922fee1e302af
Fix an invalid memory access triggered by running readelf on a fuzzed binary.

PR binutils/17531
* readelf.c (process_mips_specific): Fail if an option has an
invalid size.
binutils/ChangeLog
binutils/readelf.c