Fix addrss violation when processing a corrupt SH COFF binary.
authorNick Clifton <nickc@redhat.com>
Wed, 21 Jun 2017 15:36:44 +0000 (16:36 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 21 Jun 2017 15:36:44 +0000 (16:36 +0100)
commit6879f5a99e25c068fec34126b6b0fe4325223aa0
tree0c704ae4a8179615dca70cb52455ab8c3bfff15b
parent2234eee61c42ad3f4d17894236873e04b633e969
Fix addrss violation when processing a corrupt SH COFF binary.

PR binutils/21646
* coff-sh.c (sh_reloc): Check for an out of range reloc.
bfd/ChangeLog
bfd/coff-sh.c