diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f25c1b1e62..c15e8cb703 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,6 +1,7 @@ 2014-10-30 Nick Clifton PR binutils/17512 + * ihex.c (ihex_scan): Fix typo in invocation of ihex_bad_byte. * coffgen.c (coff_get_normalized_symtab): Prevent buffer overrun. 2014-10-29 Nick Clifton diff --git a/bfd/ihex.c b/bfd/ihex.c index 8d3590d670..9b3b813879 100644 --- a/bfd/ihex.c +++ b/bfd/ihex.c @@ -321,7 +321,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; } }