]> git.sur5r.net Git - openldap/commit
ITS#7136 MozNSS: store TLS params until the deferred initialization is finished
authorJan Vcelak <jvcelak@redhat.com>
Wed, 25 Jan 2012 15:19:45 +0000 (16:19 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 26 Jan 2012 19:32:44 +0000 (11:32 -0800)
commitb19e999e655a5f7a1d1d5f5f3a6e278a1f353863
treeb9d3d612cbfb8f52bd8b94d64917bc2b42990e3c
parent702dc4554b1f834936918005097341f07d3fb15a
ITS#7136 MozNSS: store TLS params until the deferred initialization is finished

Deferred TLS initialization is used with Mozilla NSS. The real
initialization takes place when the TLS context is needed for the first
time. If the initialization parameters were freed immediately after
tlsm_ctx_init was called, they were not available at the time of
deferred initialization which caused segmentation fault.

With this patch, initialization parameters are copied and stored until
the deferred initialization is finished. The parameters are freed
afterwards.

Red Hat Bugzilla: #783431
libraries/libldap/tls_m.c