This is the mail archive of the
glibc-bugs-regex@sourceware.org
mailing list for the glibc project.
[Bug regex/17150] regex: don't deref NULL upon heap allocation failure
- From: "allan at archlinux dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs-regex at sourceware dot org
- Date: Wed, 23 Jul 2014 06:55:04 +0000
- Subject: [Bug regex/17150] regex: don't deref NULL upon heap allocation failure
- Auto-submitted: auto-generated
- References: <bug-17150-132 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17150
Allan McRae <allan at archlinux dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Allan McRae <allan at archlinux dot org> ---
commit 7ee03f00188723a4de2b85021e511ced6d7fc4be
Author: Jim Meyering <meyering@fb.com>
Date: Sat Jul 12 17:07:21 2014 -0700
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.