Commit b32e566b authored by Nick Clifton's avatar Nick Clifton
Browse files

Fix illegal memory access problems with readelf processing corrupt RL78 binaries.

	PR binutils/21155
	* readelf.c (IN_RANGE): New macro.  Tests for an address + offset
	being within a given range.
	(target_specific_reloc_handling): Use macro to test for underflow
	as well as overflow of reloc offset.
parent 7e0de605
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment