From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4425 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: NULL deref SEGV in malloc.c:unbin() Date: Fri, 27 Dec 2013 22:03:24 -0500 Message-ID: <20131228030324.GI24286@brightrain.aerifal.cx> References: <20131227190544.GF24286@brightrain.aerifal.cx> <20131227221345.GG24286@brightrain.aerifal.cx> 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 1388199834 14565 80.91.229.3 (28 Dec 2013 03:03:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Dec 2013 03:03:54 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4429-gllmg-musl=m.gmane.org@lists.openwall.com Sat Dec 28 04:03: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 1VwkBz-0000mi-EA for gllmg-musl@plane.gmane.org; Sat, 28 Dec 2013 04:03:59 +0100 Original-Received: (qmail 26165 invoked by uid 550); 28 Dec 2013 03:03:58 -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 26116 invoked from network); 28 Dec 2013 03:03:36 -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:4425 Archived-At: On Sat, Dec 28, 2013 at 01:28:42AM +0000, David Wuertele wrote: > I removed all my calls to malloc(), now it is only musl that is > calling it. I'm watching everything that I think might be related. > It looks like calloc(), opendir(), or free() are the culprit. OK, so it seems like we should look for a possible bug in the dirent.h functions. Are you aware of anything potentially unusual about the directories you're reading? Would it be possible to provide an strace log or reduce this to a minimal self-contained failing test case that we could debug? Rich