Fix buffer overrun parsing a corrupt tekhex binary.
authorNick Clifton <nickc@redhat.com>
Fri, 18 Aug 2017 07:45:12 +0000 (08:45 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 18 Aug 2017 07:45:12 +0000 (08:45 +0100)
commitde25939739ffe9a9ad7cec07a35bb2a1e430fe39
treec7e12ad2404cac942ea6fadedbbcb5468b496464
parentdd66b39984d2b8a24b97638d65eef5cfd7dcbc5a
Fix buffer overrun parsing a corrupt tekhex binary.

PR binutils/21962
* tekhex.c (getsym): Fix check for source pointer walking off the
end of the input buffer.
bfd/ChangeLog
bfd/tekhex.c