cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PATCH: prevent a double free() with a malformed LDAP URL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 9 Sep 2013 00:04:01 +0200 (CEST)

On Sat, 7 Sep 2013, Guenter wrote:

>> Lovely, thanks! I edited it slightly and it is now pushed to git.
>>
> seems NetWare CLDAP SDK doesnt like it:
> http://curl.haxx.se/dev/log.cgi?id=20130906231203-16410#prob1
> though hadnt time to look into it - just only saw the failing autobuild ...

Clearly this source file is tricky to get right both with and without
HAVE_LDAP_URL_PARSE defined.

I made an attempt to change the approach so that the custom struct field is
only used by code that knows of it... I can test this myself so please tell me
how it works!

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2013-09-09