Fix address violation parsing a corrupt texhex format file.
authorNick Clifton <nickc@redhat.com>
Mon, 26 Jun 2017 14:46:34 +0000 (15:46 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 26 Jun 2017 14:46:34 +0000 (15:46 +0100)
commit04e15b4a9462cb1ae819e878a6009829aab8020b
treeed016304b7a644f46639368257347dc0dc7b3752
parentcfd14a500e0485374596234de4db10e88ebc7618
Fix address violation parsing a corrupt texhex format file.

PR binutils/21670
* tekhex.c (getvalue): Check for the source pointer exceeding the
end pointer before the first byte is read.
bfd/ChangeLog
bfd/tekhex.c