]> git.ipfire.org Git - thirdparty/openssl.git/commit - CHANGES
This corrects the reference count handling in SSL_get_session.
authorMark J. Cox <mark@openssl.org>
Mon, 15 Nov 1999 16:31:31 +0000 (16:31 +0000)
committerMark J. Cox <mark@openssl.org>
Mon, 15 Nov 1999 16:31:31 +0000 (16:31 +0000)
commitb7cfcfb7f8e17c17f457b3384010eb027f3aad72
tree5b5789625f7de0a23738f3e56bf4b6838456ae44
parent06556a1744dced40a2a77d7b6e4bb73f6e611b8d
This corrects the reference count handling in SSL_get_session.
Previously, the returned SSL_SESSION didn't have its reference count
incremented so the SSL_SESSION could be freed at any time causing
seg-faults if the pointer was subsequently used. Code that uses
SSL_get_session must now make a corresponding SSL_SESSION_free() call when
it is done to avoid memory leaks (or blocked up session caches).

Submitted By: Geoff Thorpe <geoff@eu.c2.net>
CHANGES
ssl/ssl_sess.c