Red Hat Bugzilla – Bug 84661
core dump in regexec
Last modified: 2016-11-24 10:00:36 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) Gecko/20021217
Description of problem:
A string with a \n causes a coredump in regexec with some patterns.
The same code executes successfully in RH7.3 (a binary built with 8.0 cores on
8.0, and runs on 7.3. a binary built with 7.3 cores on 8.0 and runs on 7.3)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. build testcase.c
Created attachment 90204 [details]
test c file
Cannot reproduce this with glibc-2.3.1-50 (in rawhide).
Guess it has been fixed in one of the numerous posix/reg* bugfixes.