Re: PATCH: prevent a double free() with a malformed LDAP URL
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
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
- TEXT/x-diff attachment: 0001-ldap_url_parse2-avoid-double-free-with-malformed-LDA.patch