Files
meta-openembedded/meta-oe/recipes-support/openldap/openldap-2.4.40/thread_stub.patch
Roy Li 47ca7a8403 openldap: upgrade to 2.4.20
1. upgrade to 2.4.20
2. remove two backup patches
2. integrate two patches to fix CVE-2015-1545 and CVE-2015-1546
3. disable bdb/hdb backend, since BerkeleyDB 6.0.20+ license is
   incompatible with LDAP

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-28 10:35:16 +02:00

21 lines
569 B
Diff

openldap: set pointer
When the function ldap_pvt_thread_pool_getkey() succeeds, it
must set the value of *data since the caller may try to use it.
Upstream-Status: pending
Signed-off-by: Joe Slater <jslater@windriver.com>
--- a/libraries/libldap_r/thr_stub.c
+++ b/libraries/libldap_r/thr_stub.c
@@ -217,6 +217,7 @@ ldap_pvt_thread_pool_unidle ( ldap_pvt_t
int ldap_pvt_thread_pool_getkey (
void *ctx, void *key, void **data, ldap_pvt_thread_pool_keyfree_t **kfree )
{
+ if (data) *data = NULL; /* avoid problems with uninitialized *data */
return(0);
}