cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bug in ssluse.c

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Feb 2002 15:29:32 +0100 (MET)

On Thu, 28 Feb 2002, chicco wrote:

> There is a bug is ssluse.c in the function Store_SSL_Session(struct
> connectdata *conn).

When reporting bugs, please state the version number.

> The variable : struct curl_ssl_session *store - is not initialized though
> int oldest_age is initialized to
> data->state.session[0].age
> So if session 0 is the oldest one store will remain not initialize while
> Kill_Single_Session(store) is called.
> store should be initialized to - &data->state.session[0].

You mean like this fix dated January 9?

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/ssluse.c.diff?r1=1.45&r2=1.46

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-02-28