cURL / Mailing Lists / curl-library / Single Mail


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

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


List admin:

Received on 2013-09-02