Stop an illegal memory access by readelf when parsing a corrupt MIPS binary file.
authorNick Clifton <nickc@redhat.com>
Thu, 25 Jul 2019 12:05:27 +0000 (13:05 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 25 Jul 2019 12:05:27 +0000 (13:05 +0100)
commit2e6be59c8de57c32260771ac5307968d18793a0a
treeea9e9ee906732feb48a0999c1bd2519d706c2396
parent442853af244e0352956a5d91ad5e169a85b58710
Stop an illegal memory access by readelf when parsing a corrupt MIPS binary file.

PR 24837
* readelf.c (process_mips_specific): Check for buffer overflow
before reading reginfo information.
binutils/ChangeLog
binutils/readelf.c