]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 24 Mar 1998 21:15:02 +0000 (21:15 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 24 Mar 1998 21:15:02 +0000 (21:15 +0000)
1998-03-24  Ulrich Drepper  <drepper@cygnus.com>

* posix/regex.c (regex_compile): Don't allow non-alphabet
characters in character set name.

ChangeLog
posix/regex.c

index 06a1db4f2725e7424100bbf0c4a048f02a87b57a..786b71aece4b88e1f4b007def84ad6480b0b971e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
+
+       * posix/regex.c (regex_compile): Don't allow non-alphabet
+       characters in character set name.
+
 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
 
        * posix/wordexp.c (w_newword): New function.
index bf0e7c46ccab255b3c69377ac002b1df187fd4b5..626244f662f15411b1842fe25d5ce99cf1cf136a 100644 (file)
@@ -2168,7 +2168,7 @@ regex_compile (pattern, size, syntax, bufp)
                     for (;;)
                       {
                         PATFETCH (c);
-                        if (c == ':' || c == ']' || p == pend
+                        if (c == ':' || c == ']' || !isalpha (c) || p == pend
                             || c1 == CHAR_CLASS_MAX_LENGTH)
                           break;
                         str[c1++] = c;
This page took 0.060612 seconds and 5 git commands to generate.