public inbox for glibc-bugs-regex@sourceware.org help / color / mirror / Atom feed
* [Bug regex/17150] New: regex: don't deref NULL upon heap allocation failure @ 2014-07-13 0:06 jim at meyering dot net 2014-07-13 0:09 ` [Bug regex/17150] " jim at meyering dot net ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: jim at meyering dot net @ 2014-07-13 0:06 UTC (permalink / raw) To: glibc-bugs-regex 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug regex/17150] regex: don't deref NULL upon heap allocation failure 2014-07-13 0:06 [Bug regex/17150] New: regex: don't deref NULL upon heap allocation failure jim at meyering dot net @ 2014-07-13 0:09 ` jim at meyering dot net 2014-07-14 4:05 ` allan at archlinux dot org 2014-07-23 6:55 ` allan at archlinux dot org 2 siblings, 0 replies; 4+ messages in thread From: jim at meyering dot net @ 2014-07-13 0:09 UTC (permalink / raw) To: glibc-bugs-regex https://sourceware.org/bugzilla/show_bug.cgi?id=17150 --- Comment #1 from jim at meyering dot net <jim at meyering dot net> --- Created attachment 7709 --> https://sourceware.org/bugzilla/attachment.cgi?id=7709&action=edit avoid NULL deref in regcomp.c's parse_dup_op -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug regex/17150] regex: don't deref NULL upon heap allocation failure 2014-07-13 0:06 [Bug regex/17150] New: regex: don't deref NULL upon heap allocation failure jim at meyering dot net 2014-07-13 0:09 ` [Bug regex/17150] " jim at meyering dot net @ 2014-07-14 4:05 ` allan at archlinux dot org 2014-07-23 6:55 ` allan at archlinux dot org 2 siblings, 0 replies; 4+ messages in thread From: allan at archlinux dot org @ 2014-07-14 4:05 UTC (permalink / raw) To: glibc-bugs-regex https://sourceware.org/bugzilla/show_bug.cgi?id=17150 Allan McRae <allan at archlinux dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |allan at archlinux dot org -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug regex/17150] regex: don't deref NULL upon heap allocation failure 2014-07-13 0:06 [Bug regex/17150] New: regex: don't deref NULL upon heap allocation failure jim at meyering dot net 2014-07-13 0:09 ` [Bug regex/17150] " jim at meyering dot net 2014-07-14 4:05 ` allan at archlinux dot org @ 2014-07-23 6:55 ` allan at archlinux dot org 2 siblings, 0 replies; 4+ messages in thread From: allan at archlinux dot org @ 2014-07-23 6:55 UTC (permalink / raw) To: glibc-bugs-regex 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-23 6:55 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-07-13 0:06 [Bug regex/17150] New: regex: don't deref NULL upon heap allocation failure jim at meyering dot net 2014-07-13 0:09 ` [Bug regex/17150] " jim at meyering dot net 2014-07-14 4:05 ` allan at archlinux dot org 2014-07-23 6:55 ` allan at archlinux dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).