[Date Prev][Date Next]
Re: (ITS#7136) [PATCH] MozNSS: store TLS params until the deferred initialization is finished
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7136) [PATCH] MozNSS: store TLS params until the deferred initialization is finished
- From: email@example.com
- Date: Thu, 26 Jan 2012 05:26:05 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> Full_Name: Jan Vcelak
> Version: git master
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/jvcelak-20120125-nss-params-deferred-init.patch
> Submission from: (NULL) (22.214.171.124)
> 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.
> This situation happens e.g. with syncrepl.
> With this patch, initialization parameters are copied and stored until the
> deferred initialization is finished. The parameters are freed afterwards.
> Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=783431
> Patch uploaded.
Thanks, committed to git master.
> 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.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/