cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl gmtime bug

From: Daniel Stenberg <daniel_at_haxx.se>
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!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-07