Bug 71039 - Crash in regcomp()
Summary: Crash in regcomp()
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: glibc
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
: 66794 (view as bug list)
Depends On:
Blocks: 67217
TreeView+ depends on / blocked
 
Reported: 2002-08-08 02:48 UTC by Havoc Pennington
Modified: 2016-11-24 15:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-11 22:13:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Havoc Pennington 2002-08-08 02:48:12 UTC
The following test program will abort in free() if run with MALLOC_CHECK_=2
using glibc-2.2.90-17. I believe this is the cause of the "mcedit crashes on
startup" bug that has been reported several times.

#include <sys/types.h>
#include <regex.h>
#include <stdlib.h>

int
main (int argc, char **argv)
{
  regex_t r;

  regcomp (&r, "^@! */.*/(k|ba||pdk|z)sh", REG_EXTENDED);

  return 0;
}

Comment 1 Havoc Pennington 2002-08-08 02:53:57 UTC
Bug #66794 is the mc bug.

Comment 3 Havoc Pennington 2002-08-11 22:13:10 UTC
*** Bug 66794 has been marked as a duplicate of this bug. ***

Comment 4 Jakub Jelinek 2002-08-16 06:31:11 UTC
Should be fixed in glibc-2.2.90-19 and later.


Note You need to log in before you can comment on or make changes to this bug.