curl / Mailing Lists / curl-library / Single Mail


Re: 3 windows schannel warnings

From: Daniel Stenberg <>
Date: Sun, 15 Jan 2017 15:48:43 +0100 (CET)

On Sat, 14 Jan 2017, Ray Satiro via curl-library wrote:

> That is because the conversion function-like macros may return the original
> passed-in string instead of converting and returning a copy. I think that is
> bad practice and we should be making a copy of it in any case. I suggest
> something simple like strdup, for example

... and change the Curl_unicodefree() call to a regular free() at the same
time I guess? Sounds like a good plan to me!

List admin:
Received on 2017-01-15