[PATCH] Fix regex from reading uninitialized memory

Ulrich Drepper drepper@redhat.com
Wed Jan 14 01:45:00 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek wrote:

> 	* posix/regcomp.c (peek_token_bracket): Check remaining
> 	string length before re_string_peek_byte (x, 1).
> 	(parse_bracket_symbol): Likewise.
> 	* posix/regex_internal.h (re_string_is_single_byte_char): Return
> 	true at last byte in the string.
> 	* posix/bug-regex22.c (main): Add new test.

Applied.

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFABJ5+2ijCOnn/RHQRAtTdAJ4wVN40O5++i+Wlv4zNn5BhGsUeXwCfQ8oq
32Ku/ymoshH6kgIMXRnG8T8=
=/2/U
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list