cURL / Mailing Lists / curl-library / Single Mail


Re: curl gmtime bug

From: Daniel Stenberg <>
Date: Mon, 7 Feb 2011 15:24:33 +0100 (CET)

On Fri, 4 Feb 2011, Andrew Kurushin wrote:

> gmtime (msvcrt implementation)- may return NULL for invalid input data, in
> that case following "snprintf" generate AccessViolation.

I did a general cleanup on how we use the gmtime and gmtime_r in the code, so
now we have less #ifdefs around and we are now checking for NULL returns.

Please try out the current git repo!

Thanks for the report!

List admin:
Received on 2011-02-07