projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e760b0
)
Fixes a seg-fault in the ihex parser when it encounters a malformed ihex file.
author
Nick Clifton
<nickc@redhat.com>
Thu, 30 Oct 2014 17:16:17 +0000
(17:16 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Thu, 30 Oct 2014 17:16:17 +0000
(17:16 +0000)
PR binutils/17512
* ihex.c (ihex_scan): Fix typo in invocation of ihex_bad_byte.
bfd/ChangeLog
patch
|
blob
|
history
bfd/ihex.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index f25c1b1e6272fd39336807081f9ff86dcc779bb6..c15e8cb703dbe3fc0f7a5a1e275b8e5e1820dd03 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,6
+1,7
@@
2014-10-30 Nick Clifton <nickc@redhat.com>
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 <nickc@redhat.com>
diff --git
a/bfd/ihex.c
b/bfd/ihex.c
index 8d3590d670e9c34a2a98642f31fdac9ebea739f1..9b3b81387984019b424b10883235eab9fdbafe9a 100644
(file)
--- 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;
}
}