Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 2 Oct 2016 14:08:32 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: "non-float" malloc (was: incompatibility between
 libtheora/mmx and musl)

* u-uy74@...ey.se <u-uy74@...ey.se> [2016-10-02 12:59:50 +0200]:
> On Wed, Sep 14, 2016 at 04:41:45PM +0200, Szabolcs Nagy wrote:
> > to test this, try to use the 'non-float bin index'
> > code in musl from here:
> > http://port70.net/~nsz/musl/malloc.c
> 
> Unfortunately this leads to a segfault when used with the explicit runtime
> loader, because brk() happily grows over the dynamic loader's data.
> The modified variant of the malloc code seems to not apply
> the traverses_stack_p() check.
> 

i meant that you should only use the bin index calculation from that file,
not as a malloc replacement.

other parts of musl malloc has been changed since i wrote that..

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.