cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: BUG: NULL pointer dereference in Curl_ssl_getsessionid.

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Sat, 4 May 2013 20:43:19 +0200

2013/5/4 Vuurvlieg <vuurvlieg_at_gmail.com>:
> It is because of the line @ multi.c:1767
> conn->data = multi->closure_handle;
>
> It replaces the "correct" state (which has session properly allocated) with
> the closure_handle which does not have it.
>
> I can't figure out the correct fix.
> Should it be illegal to call Curl_ssl_getsessionid from cleanup or should
> this closure_handle have this state copied from the actual data?

I have no clue why there is a need for something like a
closure_handle. Why can't the connection be freed with it's original
handle? Daniel, can you elaborate on this one? Thanks!
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-04