From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14966 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: New malloc - first preview Date: Fri, 29 Nov 2019 22:15:52 -0500 Message-ID: <20191130031552.GQ16318@brightrain.aerifal.cx> References: <20191022174051.GA24726@brightrain.aerifal.cx> <20191128215642.GN16318@brightrain.aerifal.cx> <20191129194558.GC20973@voyager> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="198545"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-14982-gllmg-musl=m.gmane.org@lists.openwall.com Sat Nov 30 04:16:09 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1iatEu-000pW3-GV for gllmg-musl@m.gmane.org; Sat, 30 Nov 2019 04:16:08 +0100 Original-Received: (qmail 1282 invoked by uid 550); 30 Nov 2019 03:16:05 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 1261 invoked from network); 30 Nov 2019 03:16:04 -0000 Content-Disposition: inline In-Reply-To: <20191129194558.GC20973@voyager> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14966 Archived-At: On Fri, Nov 29, 2019 at 08:45:58PM +0100, Markus Wichmann wrote: > On Thu, Nov 28, 2019 at 04:56:42PM -0500, Rich Felker wrote: > > Work on the new malloc is well underway, and I have a draft version > > now public at: > > > > https://github.com/richfelker/mallocng-draft > > > > So I read a bit of the code and noticed a mistake: On error, mmap() > returns MAP_FAILED ((void*)-1) rather than 0. Thanks! Yep, I noticed that a day or two ago while reading but forgot to mark it down on my list of things to fix. Thanks for catching it. Rich