[PATCH] Improve check against integer wraparound in hcreate_r [BZ #18240]

Joseph Myers joseph@codesourcery.com
Mon Feb 1 18:34:00 GMT 2016


On Mon, 1 Feb 2016, Florian Weimer wrote:

> On 02/01/2016 06:05 PM, Andreas Schwab wrote:
> > Szabolcs Nagy <szabolcs.nagy@arm.com> writes:
> > 
> >> i think the test-skeleton changes malloc behaviour
> >> in weird ways, but i'm not yet sure what's going on.
> > 
> >   mallopt (M_PERTURB, 42);
> 
> Yeah, this invalidates some of the malloc tests as well.

I suppose we should look back at the bulk conversions to test-skeleton.c, 
to see if any tests were changed for which this is an issue?

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list