From 5be2b2f549b0ba0743938d1d74708d79cf42dc0f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 3 Mar 2020 16:11:12 +0000 Subject: [PATCH] Remove a call to abort which can be triggered by running objdump on a corrupt input file. PR 25625 * prdbg.c (pr_tag_type): Remove call to abort. --- binutils/ChangeLog | 5 +++++ binutils/prdbg.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e1cec98e7ef..afc380392e0 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2020-03-03 Nick Clifton + + PR 25625 + * prdbg.c (pr_tag_type): Remove call to abort. + 2020-03-02 Aaron Merey * binutils/testsuite/binutils-all/debuginfod.exp: Improve port diff --git a/binutils/prdbg.c b/binutils/prdbg.c index ef6fe61a0ff..1b376f485fe 100644 --- a/binutils/prdbg.c +++ b/binutils/prdbg.c @@ -1624,7 +1624,7 @@ pr_tag_type (void *p, const char *name, unsigned int id, t = "union class "; break; default: - abort (); + /* PR 25625: Corrupt input can trigger this case. */ return FALSE; } -- 2.30.2