From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6097 invoked by alias); 23 Jul 2014 06:55:10 -0000 Mailing-List: contact glibc-bugs-regex-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-regex-owner@sourceware.org Received: (qmail 5999 invoked by uid 48); 23 Jul 2014 06:55:07 -0000 From: "allan at archlinux dot org" To: glibc-bugs-regex@sourceware.org Subject: [Bug regex/17150] regex: don't deref NULL upon heap allocation failure Date: Wed, 23 Jul 2014 06:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: regex X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: allan at archlinux dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00008.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17150 Allan McRae changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Allan McRae --- commit 7ee03f00188723a4de2b85021e511ced6d7fc4be Author: Jim Meyering 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.