From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4416 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: NULL deref SEGV in malloc.c:unbin() Date: Fri, 27 Dec 2013 14:05:44 -0500 Message-ID: <20131227190544.GF24286@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1388171152 1139 80.91.229.3 (27 Dec 2013 19:05:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2013 19:05:52 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4420-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 27 20:05:59 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VwcjO-0005Nk-AB for gllmg-musl@plane.gmane.org; Fri, 27 Dec 2013 20:05:58 +0100 Original-Received: (qmail 1809 invoked by uid 550); 27 Dec 2013 19:05:57 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 1801 invoked from network); 27 Dec 2013 19:05:57 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4416 Archived-At: On Fri, Dec 27, 2013 at 06:35:00PM +0000, David Wuertele wrote: > I wonder if anyone has hit this before? In unbin(), c->next->prev is set, but > c->next is NULL. It happens repeatedly, and here's what gdb says: It's almost surely a case of memory corruption by the calling program, most likely using memory after it's already been freed. Rich