Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.11.1505251636360.2914@monopod.intra.ispras.ru>
Date: Mon, 25 May 2015 16:40:46 +0300 (MSK)
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
Subject: Re: ppc soft-float regression

On Mon, 25 May 2015, Szabolcs Nagy wrote:
> * Jens Gustedt <jens.gustedt@...ia.fr> [2015-05-25 09:44:44 +0200]:
> > Am Montag, den 25.05.2015, 02:57 -0400 schrieb Rich Felker:
> > > 2. If cnt<LIMIT (e.g. 16k), produce VLA of the right size; otherwise
> > >    produce VLA of size 1 and pass a null pointer instead of a pointer
> > >    to the VLA.
> > 
> > Ok, so we have a simple sanity check, great.
> > 
> 
> btw the stack usage of libc should be documented
> 
> currently a libc call always uses less than 10K stack(*)
> but the guaranteed limit is not documented (16K limit is
> fine i guess).

Not true: fmt_fp consumes more that LDBL_MAX_EXP bytes, which is 16384 on x86
and aarch64.  As I recall, there's another function with >16K static stack
usage in the resolver, but I forget where exactly.

Alexander

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.