diff options
author | Nick Clifton <nickc@redhat.com> | 2020-03-03 16:11:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-03-03 16:11:12 +0000 |
commit | 5be2b2f549b0ba0743938d1d74708d79cf42dc0f (patch) | |
tree | edce11a4903260bf4d97d06c6907cb798bff60e6 /binutils/prdbg.c | |
parent | 10d97a0f99079325bf85e17cc741496e686a6b74 (diff) | |
download | binutils-gdb-5be2b2f549b0ba0743938d1d74708d79cf42dc0f.tar.gz |
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.
Diffstat (limited to 'binutils/prdbg.c')
-rw-r--r-- | binutils/prdbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |