projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bfd/
[deliverable/binutils-gdb.git]
/
bfd
/
srec.c
diff --git
a/bfd/srec.c
b/bfd/srec.c
index ebb039bba36eb635cdc315d70d6ba49418b4e075..371e53a36656b2d01d961675794f7e315cf5c485 100644
(file)
--- a/
bfd/srec.c
+++ b/
bfd/srec.c
@@
-428,6
+428,11
@@
srec_scan (bfd *abfd)
symval <<= 4;
symval += NIBBLE (c);
c = srec_get_byte (abfd, &error);
+ if (c == EOF)
+ {
+ srec_bad_byte (abfd, lineno, c, error);
+ goto error_return;
+ }
}
if (! srec_new_symbol (abfd, symname, symval))
This page took
0.02309 seconds
and
4
git commands to generate.