This is the mail archive of the
glibc-bugs-regex@sourceware.org
mailing list for the glibc project.
[Bug regex/17150] New: regex: don't deref NULL upon heap allocation failure
- From: "jim at meyering dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs-regex at sourceware dot org
- Date: Sun, 13 Jul 2014 00:06:17 +0000
- Subject: [Bug regex/17150] New: regex: don't deref NULL upon heap allocation failure
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17150
Bug ID: 17150
Summary: regex: don't deref NULL upon heap allocation failure
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: regex
Assignee: unassigned at sourceware dot org
Reporter: jim at meyering dot net
CC: drepper.fsp at gmail dot com
Here's the ChangeLog entry for the attached patch:
2014-07-12 Jim Meyering <meyering@fb.com>
regex: don't deref NULL upon heap allocation failure
* posix/regcomp.c (parse_dup_op): Handle duplicate_tree
failure in one more place.
To trigger the segfault, configure grep -with-included-regex,
build it, and run these commands:
( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
--
You are receiving this mail because:
You are on the CC list for the bug.