GNU bug report logs - #27838
grep error: "regexec.c:1375: pop_fail_stack: Assertion `num >= 0' failed."

Previous Next

Package: coreutils;

Reported by: Jacek Wielemborek <d33tah <at> gmail.com>

Date: Wed, 26 Jul 2017 14:54:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jacek Wielemborek <d33tah <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: grep error: "regexec.c:1375: pop_fail_stack: Assertion `num >= 0'
 failed."
Date: Wed, 26 Jul 2017 16:53:07 +0200
Hi,

Try out the following test case, IIRC found with the aid of afl-fuzz:

grep -E -f <( echo
'fzJ7fymOjgqOjgkfMnt/KSgfVzN8pFyQKR8zfGR7pGuQKR8zfCh8Mnt/KSgfVzN8pFyQKR8zfGR7pGuQKR8zfGR7kCkoCx8zfDJ7fymOrQmOjgkfM3wkXDI='
| base64 -d ) /dev/null
grep: regexec.c:1375: pop_fail_stack: Assertion `num >= 0' failed.

I reported it once as on Fedora's Bugzilla, but got no reaction - in
that case it even triggered a segmentation fault.

Cheers,
d33tah




This bug report was last modified 7 years and 305 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.