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.
This commit is contained in:
Nick Clifton
2020-03-03 16:11:12 +00:00
parent 10d97a0f99
commit 5be2b2f549
2 changed files with 6 additions and 1 deletions

View 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;
}