curl-library
Re: BUG: NULL pointer dereference in Curl_ssl_getsessionid.
Date: Sat, 4 May 2013 19:57:53 +0200
On Sat, May 4, 2013 at 7:31 PM, Marc Hoersken <info_at_marc-hoersken.de> wrote:
> I was looking into this issue again, but I still cannot understand why
> data->state.session is NULL in Curl_ssl_getsessionid during
> Curl_ssl_shutdown.
>
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?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-04