mirror of git://sourceware.org/git/glibc.git
Update.
1998-03-24 Ulrich Drepper <drepper@cygnus.com> * posix/regex.c (regex_compile): Don't allow non-alphabet characters in character set name.
This commit is contained in:
parent
e9fc7bbb89
commit
09515d674a
|
|
@ -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>
|
1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
|
||||||
|
|
||||||
* posix/wordexp.c (w_newword): New function.
|
* posix/wordexp.c (w_newword): New function.
|
||||||
|
|
|
||||||
|
|
@ -2168,7 +2168,7 @@ regex_compile (pattern, size, syntax, bufp)
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
PATFETCH (c);
|
PATFETCH (c);
|
||||||
if (c == ':' || c == ']' || p == pend
|
if (c == ':' || c == ']' || !isalpha (c) || p == pend
|
||||||
|| c1 == CHAR_CLASS_MAX_LENGTH)
|
|| c1 == CHAR_CLASS_MAX_LENGTH)
|
||||||
break;
|
break;
|
||||||
str[c1++] = c;
|
str[c1++] = c;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue