From: cgf Date: Sat, 5 Jul 2003 13:49:50 +0000 (+0000) Subject: * dlltool.c (prefix_encode): Use a fixed length for alpha. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=13ae39a32c6fb7edf645c57f54309bc1aef0f2cb;p=pf3gnuchains%2Fsourceware.git * dlltool.c (prefix_encode): Use a fixed length for alpha. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 26178750ec..1783286bdb 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2003-07-05 Christopher Faylor + + * dlltool.c (prefix_encode): Use a fixed length for alpha. + 2003-07-04 Christopher Faylor * dlltool.c (prefix_encode): New function. Encode temp file prefix diff --git a/binutils/dlltool.c b/binutils/dlltool.c index 544602b028..ffbcd2861c 100644 --- a/binutils/dlltool.c +++ b/binutils/dlltool.c @@ -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);