mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
MFC r326135: bfd: fix segfault in the ihex parser on malformed ihex file
From binutils commit 0102ea8cec5fc509bba6c91df61b7ce23a799d32, made available under GPLv2 by Nick Clifton. PR: 198824 Security: CVE-2014-8503
This commit is contained in:
parent
4a259b9b45
commit
259d410454
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=326382
@ -320,7 +320,7 @@ ihex_scan (bfd *abfd)
|
||||
{
|
||||
if (! ISHEX (buf[i]))
|
||||
{
|
||||
ihex_bad_byte (abfd, lineno, hdr[i], error);
|
||||
ihex_bad_byte (abfd, lineno, buf[i], error);
|
||||
goto error_return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user