Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 30 Nov 2019 17:11:50 -0500
From: Rich Felker <>
Subject: Re: New malloc - first preview

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:
> Some highlights:

And some updates:

Since posting this, I've found and fixed some bugs. One thing I'm
really happy about is that I didn't have to wade through any
application-level memory corruption. Aside from issues from compilers
doing bad things without -ffreestanding, and the MAP_FAILED issue I
never actually hit, all of them were caught as assertion failure
traps. This is very different from my experience developing the old
malloc in musl, and suggests good coverage for consistency checking
which is tied to hardening. (Note: some of the consistency checks are
probably overzealous and unrelated to likely attack vectors, and may
make sense to disable later to improve performance.)

So now, as of:

it's now working to run (via LD_PRELOAD interposition) firefox, gimp,
inkscape, and a number of less-demanding applications I've tried. I
haven't done any rigorous testing, but at first glance firefox memory
usage "seems" to be more stable, and varies up/down with usage rather
than just going up.

Strategy for creating new groups and how soon to reuse freed memory
probably still has a lot of suboptimal properties, but I think the new
allocator is usable/testable at this point.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.