Remove a call to abort which can be triggered by running objdump on a corrupt input...
authorNick Clifton <nickc@redhat.com>
Tue, 3 Mar 2020 16:11:12 +0000 (16:11 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 3 Mar 2020 16:11:12 +0000 (16:11 +0000)
PR 25625
* prdbg.c (pr_tag_type): Remove call to abort.

binutils/ChangeLog
binutils/prdbg.c

index e1cec98e7efe10217f45cc9f0f8824b87b85f75b..afc380392e01de528215e2be0ebdaa84c426a3f9 100644 (file)
@@ -1,3 +1,8 @@
+2020-03-03  Nick Clifton  <nickc@redhat.com>
+
+       PR 25625
+       * prdbg.c (pr_tag_type): Remove call to abort.
+
 2020-03-02  Aaron Merey  <amerey@redhat.com>
 
        * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
index ef6fe61a0ff9562e0603194c11b346088e211bcc..1b376f485fecf04303d39b6240c1475e65e8dfa9 100644 (file)
@@ -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;
     }
 
This page took 0.024638 seconds and 4 git commands to generate.