daily update
[deliverable/binutils-gdb.git] / bfd / srec.c
index ebb039bba36eb635cdc315d70d6ba49418b4e075..371e53a36656b2d01d961675794f7e315cf5c485 100644 (file)
@@ -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.024333 seconds and 4 git commands to generate.