Skip to content
Commit d785b7d4 authored by Nick Clifton's avatar Nick Clifton
Browse files

Stop objdump from attempting to allocate a huge chunk of memory when parsing...

Stop objdump from attempting to allocate a huge chunk of memory when parsing relocs in a corrupt file.

	PR 22508
	* objdump.c (dump_relocs_in_section): Also check the section's
	relocation count to make sure that it is reasonable before
	attempting to allocate space for the relocs.
parent 08f650e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment