summaryrefslogtreecommitdiff
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2020-05-09 21:05:31 +0200
committerMark Wielaard <mark@klomp.org>2020-05-14 14:30:57 +0200
commit5d769dd05d2e10dd35dc34e105d6f1f19b57d124 (patch)
treeec51e51ffea9b85afa526d4ec6c12d8e3a7e5164 /src/ChangeLog
parent24d6569408c2039a97054f3e6999cb174c076242 (diff)
downloadelfutils-5d769dd05d2e10dd35dc34e105d6f1f19b57d124.tar.gz
src: Check ebl_openbackend result before using ebl handle.
GCC10 -fanalyzer plus -flto sees that ebl_openbackend can fail and return NULL. Most of the time we will get a dummy ebl, but in case of out of memory or corrupt ELF header it might return NULL. Make sure that we report a (fatal) error in that case in all tools. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 83d58607..8c72e7d1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
+2020-05-09 Mark Wielaard <mark@klomp.org>
+
+ * elflint.c (process_elf_file): Error out if ebl_openbackend fails.
+ * objdump.c (handle_elf): Likewise.
+ * nm.c (handle_elf): Likewise. Move full name string construction
+ forward, so it can be used in the error message.
+
2020-04-17 Mark Wielaard <mark@klomp.org>
* readelf.c (print_debug): Check .gnu.debuglto_ prefix.