From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28880 invoked by alias); 18 Apr 2014 01:15:54 -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 28833 invoked by uid 48); 18 Apr 2014 01:15:49 -0000 From: "eggert at gnu dot org" To: glibc-bugs-regex@sourceware.org Subject: [Bug regex/16851] re_node_set_alloc should not return REG_ESPACE when size == 0 Date: Fri, 18 Apr 2014 01:15: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: unspecified X-Bugzilla-Keywords: std-isoc X-Bugzilla-Severity: normal X-Bugzilla-Who: eggert at gnu dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-04/txt/msg00001.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16851 --- Comment #1 from Paul Eggert --- Sorry, you've lost me on this one. Which standard? The C standard does not let an application supply its own malloc function. See C11 section 7.1.3. With glibc I suppose you can get away with it, but only if the application's malloc is compatible with glibc's. -- You are receiving this mail because: You are on the CC list for the bug.