* dlltool.c (prefix_encode): Use a fixed length for alpha.
authorChristopher Faylor <me+cygwin@cgf.cx>
Sat, 5 Jul 2003 13:49:50 +0000 (13:49 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Sat, 5 Jul 2003 13:49:50 +0000 (13:49 +0000)
binutils/ChangeLog
binutils/dlltool.c

index 2617875..1783286 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-05  Christopher Faylor  <cgf@redhat.com>
+
+       * dlltool.c (prefix_encode): Use a fixed length for alpha.
+
 2003-07-04  Christopher Faylor  <cgf@redhat.com>
 
        * dlltool.c (prefix_encode): New function.  Encode temp file prefix
index 544602b..ffbcd28 100644 (file)
@@ -753,7 +753,7 @@ static void inform
 static char *
 prefix_encode PARAMS ((char *start, unsigned code))
 {
-  static char alpha[] = "abcdefghijklmnopqrstuvwxyz";
+  static char alpha[26] = "abcdefghijklmnopqrstuvwxyz";
   static char buf[32];
   char *p;
   strcpy (buf, start);