[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7241) [PATCH] unbind: free the socket prior to destroying TLS context



Full_Name: Jan Vcelak
Version: git master
OS: Linux
URL: ftp://ftp.openldap.org/incoming/jvcelak-120412-unbind-free-socket-prior-to-tls-context.patch
Submission from: (NULL) (209.132.186.34)


Hello.

I'm proposing uploaded patch which moves ber_sockbuf_free() prior to
ldap_int_tls_destroy() in ldap_ld_free().

I sent the reasoning on the openldap-devel list:
http://www.openldap.org/lists/openldap-devel/201204/msg00003.html

And there is an answer from Howard:
http://www.openldap.org/lists/openldap-devel/201204/msg00004.html

Please, consider its inclusion.

Jan

The attached file is derived from OpenLDAP Software. All of the modifications to
OpenLDAP Software represented in the following patch(es) were developed by Red
Hat. Red Hat has not assigned rights and/or interest in this work to any party.
I, Jan Vcelak am authorized by Red Hat, my employer, to release this work under
the following terms. 

Red Hat hereby place the following modifications to OpenLDAP Software (and only
these modifications) into the public domain. Hence, these modifications may be
freely used and/or redistributed for any purpose with or without attribution
and/or other notice.