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: Assaf Gordon
Subject: Re: two (and a half) more crashes in regex module
Date: Tue, 18 Sep 2018 16:20:46 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hello,

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






reply via email to

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