Automatic date update in version.in
[deliverable/binutils-gdb.git] / bfd / tekhex.c
index cfa75d53c87233fb81672a2f9f3142eeafa93a24..cb4b624d40858013e183a6e812ac38dc666b2125 100644 (file)
@@ -307,7 +307,7 @@ getsym (char *dstp, char **srcp, unsigned int *lenp, char * endp)
   len = hex_value (*src++);
   if (len == 0)
     len = 16;
-  for (i = 0; i < len && src < endp; i++)
+  for (i = 0; i < len && (src + i) < endp; i++)
     dstp[i] = src[i];
   dstp[i] = 0;
   *srcp = src + i;
@@ -520,7 +520,7 @@ pass_over (bfd *abfd, bfd_boolean (*func) (bfd *, int, char *, char *))
 
   while (! is_eof)
     {
-      static char src[MAXCHUNK];
+      char src[MAXCHUNK];
       char type;
 
       /* Find first '%'.  */
This page took 0.023975 seconds and 4 git commands to generate.