http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/posix/regex_internal.c?cvsroot=glibc lists cvs information for regex_internal.c and version 1.15 fixed the bug. The problem shows up when using case insensitive searches. It allocates enough space in the pstr->mbs to hold a complete search pattern, but there is a misplaced pstr->tip_context = re_string_context_at in re_string_reconstruct that can look for a character well outside of the allocated pstr->mbs array. I was also bitten by this bug and after tracking it down I figured out it was already fixed in cvs, but obviously not in the shipping debian package. -- David Fries <dfries@mail.win.org> http://fries.net/~david/pgpkey.txt
Attachment:
pgpNX3Og_BlxD.pgp
Description: PGP signature