This is the mail archive of the
glibc-bugs-regex@sourceware.org
mailing list for the glibc project.
[Bug regex/5028] New: segfault in regex engine when using C collation and multibyte chars
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs-regex at sources dot redhat dot com
- Date: 13 Sep 2007 15:01:34 -0000
- Subject: [Bug regex/5028] New: segfault in regex engine when using C collation and multibyte chars
- Reply-to: sourceware-bugzilla at sourceware dot org
glibc's regular expression engine crashes with segmentation fault whenever
trying to compile a regular expression with non-ASCII range expressions if
LC_CTYPE is a UTF-8 locale but LC_COLLATE is set to C or POSIX. This
is a common setup among users who want traditional codepoint-order
sorting but need UTF-8 encoding.
$ LANG=en_US.UTF-8 LC_COLLATE=C grep '[Á-ä]'
Segmentation fault
This is also reproducible with a simple C program.
--
Summary: segfault in regex engine when using C collation and
multibyte chars
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: regex
AssignedTo: drepper at redhat dot com
ReportedBy: aurelien at aurel32 dot net
CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
bugs at sources dot redhat dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=5028
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.