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, 2 Sep 2013 09:20:59 +0200 (CEST)

On Thu, 22 Aug 2013, Daniel Stenberg wrote:

> I guess that information, if each line was individually allocated or not,
> needs to be stored somewhere so that _ldap_free_urldesc can do the right
> thing.

This thread seems to have died, but I'm attaching my patch here with a
slightly different approach to fixing the problem.

I'll appreciate some feedback and preferably some testing of this since I
don't have a dev system that actually uses this code!

-- 
  / 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-02