[PATCH v2][BZ #14286] Fix integer overflow in vfwprintf.

Andreas Schwab schwab@suse.de
Mon Oct 21 13:18:00 GMT 2013


Ondřej Bílka <neleai@seznam.cz> writes:

> On Mon, Oct 21, 2013 at 12:12:36PM +0200, Andreas Schwab wrote:
>> Ondřej Bílka <neleai@seznam.cz> writes:
>> 
>> > I copied that from case when malloc fails that if I read code
>> > correctly does not set ENOMEM.
>> 
>> Testcase?
>>
>
> Here, nothing gets written but errno is 0.

And in which way is that a valid test case?

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list