bug-gnulib
[Top][All Lists]
Advanced

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

Re: two (and a half) more crashes in regex module


From: Jim Meyering
Subject: Re: two (and a half) more crashes in regex module
Date: Tue, 18 Sep 2018 16:01:56 -0700

On Tue, Sep 18, 2018 at 3:21 PM Assaf Gordon <address@hidden> wrote:
> On 12/09/18 12:02 AM, Assaf Gordon wrote:
> >     $ echo 1 |  grep -E "(\'|^)(\1|)"
> >     grep: regexec.c:1375: pop_fail_stack: Assertion `num >= 0' failed.
> >     Aborted
>
> I don't have a fix yet, but I reduced the crash to this interesting case:
>
>    $ echo 1 | grep -E '(^|$)\1'
>    1
>
>    $ echo 1 | grep -E '($|^)\1'
>    grep: regexec.c:1375: pop_fail_stack: Assertion `num >= 0' failed.
>    Aborted

Oh! Good one! Thanks for all your work so far.



reply via email to

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