From f17e9d8ab58474cfa24910f9066f3b9823e190e7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 5 Sep 2017 12:09:14 +0100 Subject: [PATCH] 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 | 6 ++++++ binutils/readelf.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 92d8602546b..53ac9feb641 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2017-09-05 Nick Clifton + + PR 21995 + * readelf.c (process_mips_specific): Add checks for a NULL data + pointer. + 2017-09-05 Alexander Fedotov Edmar Wienskoski