[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

regex segfault

From: Stepan Kasal
Subject: regex segfault
Date: Fri, 13 Jun 2003 16:15:34 +0200
User-agent: Mutt/

Dear libc hackers,
        the folowing bug has been reported on the bug-gnu-utils list
(thank you, Andy, for this):

On Thu, Jun 12, 2003 at 08:40:21PM -0400, Andy Stanton wrote:
> grep '^\(.\{0,1\}\)\(.\{0,1\}\)\(.\{0,1\}\)\(.\{0,1\}\)\3\2\1$' \
>          /usr/share/dict/words
> tested on GNU grep 2.5.1, this produces the following on my redhat 9.0 box:
> Abe
> Segmentation fault

I've reproduced the bug this way (Linux, IA32, older glibc):
1) unpack grep-2.5.1.tar.bz2
2) cp glibc/libc/posix/reg* grep-2.5.1/lib/ # copy from current CVS checkout
3) ./configure --with-included-regex; make

(The error message was slightly different, but generaly the behaviour was
the same: crash.)

So I conclude the bug is still in the current code.

I think this problem translates easily to a test case; if you expirience
problems reproducing the bug, mail me for details.

Have a nice day,
        Stepan Kasal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]