From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13096 invoked by alias); 9 Jan 2008 20:49:49 -0000 Received: (qmail 12850 invoked by uid 48); 9 Jan 2008 20:49:06 -0000 Date: Wed, 09 Jan 2008 20:49:00 -0000 Message-ID: <20080109204906.12849.qmail@sourceware.org> From: "drow at sources dot redhat dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20080108165412.5553.drow@sources.redhat.com> References: <20080108165412.5553.drow@sources.redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/5553] If mmap fails malloc may assert. X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00040.txt.bz2 ------- Additional Comments From drow at sources dot redhat dot com 2008-01-09 20:49 ------- Thanks. Is your change to memalign correct? ar_ptr = arena_get2(ar_ptr->next ? ar_ptr : 0, bytes); + (void)mutex_unlock(&ar_ptr->mutex); if(ar_ptr) { p = _int_memalign(ar_ptr, alignment, bytes); (void)mutex_unlock(&ar_ptr->mutex); if (!ar_ptr), segfault, else double unlock. -- http://sourceware.org/bugzilla/show_bug.cgi?id=5553 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.