Fix a buffer overrun when parsing a corrupt MIPS ELF binary.
authorNick Clifton <nickc@redhat.com>
Tue, 5 Sep 2017 11:09:14 +0000 (12:09 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 5 Sep 2017 11:09:14 +0000 (12:09 +0100)
commitf17e9d8ab58474cfa24910f9066f3b9823e190e7
tree47779b7680fc51d43126dd992c357897e5a07ae9
parent22916b0786336394bf84f68ba71875ac3cd48fea
Fix a buffer overrun when parsing a corrupt MIPS ELF binary.

PR 21995
* readelf.c (process_mips_specific): Add checks for a NULL data
pointer.
binutils/ChangeLog
binutils/readelf.c