curl-library
Re: PATCH: prevent a double free() with a malformed LDAP URL
From: Tor Arntsen <kspt.tor_at_gmail.com>
Date: Mon, 9 Sep 2013 10:03:25 +0200
Date: Mon, 9 Sep 2013 10:03:25 +0200
On 9 September 2013 00:04, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 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!
It fixes the problem on IRIX at least, and it should fix it on Solaris
too as far as I can tell.
-Tor
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-09-09