On 8/20/20 2:02 AM, Luca Borzacchiello via Bug reports for GNU grep wrote:
running grep 3.4 with the attached inputs, cause an invalid read in
pop_fail_stack.
Thanks for reporting that. This appears to be a duplicate of these longstanding
grep bug reports:
https://bugs.gnu.org/22793
https://bugs.gnu.org/32806
https://bugs.gnu.org/34238
so I have merged your bug report to join the throng.
The actual bug is in glibc, and is reported here:
https://sourceware.org/bugzilla/show_bug.cgi?id=11053
This bug been unfixed since 2009 so a fix is not likely soon, unfortunately. A
patch would be welcome of course.