[PATCH] Fix integer overflows in internal memalign and malloc functions [BZ #22343]

Carlos O'Donell carlos@redhat.com
Wed Jan 17 21:47:00 GMT 2018


On 01/17/2018 12:52 PM, Florian Weimer wrote:
> On 01/17/2018 09:26 PM, Arjun Shankar wrote:
>> +#define TIMEOUT 5
> 
> The default timeout is 20 seconds (scaled by the timeout factor), so this reduces the timeout to one fourth of the default value.  I think you should remove this.
> 
> (I haven't looked at the other parts of the patch.)

support/test-driver.h:    DEFAULT_TIMEOUT = 20,
 
You are absolutely right, I thought the default was 2 seconds, but
that's just my age showing... the old test-skeleton.c had a 2 second
timeout. That has changed to 20 seconds with the new support framework.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list