Bug 84661

Summary: core dump in regexec
Product: [Retired] Red Hat Linux Reporter: Ben Fennema <benjamin.fennema>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 8.0CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-20 11:09:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test c file none

Description Ben Fennema 2003-02-20 04:04:46 UTC
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):


How reproducible:
Always

Steps to Reproduce:
1. build testcase.c
2. execute
    

Additional info:

Comment 1 Ben Fennema 2003-02-20 04:06:10 UTC
Created attachment 90204 [details]
test c file

Comment 2 Jakub Jelinek 2003-02-20 11:09:26 UTC
Cannot reproduce this with glibc-2.3.1-50 (in rawhide).
Guess it has been fixed in one of the numerous posix/reg* bugfixes.