Update of /repo/OpenLDAP/pkg/ldap/libraries/libldap_r
Modified Files: tpool.c 1.66 -> 1.67
Log Message: Make ldap_int_thread_userctx_t.ltu_key[] a proper NULL-terminated array. (setkey/getkey expected that, but purgekey could set a NULL in the middle.) Added some checks for input key!=NULL.
API changes, need review - I'm not sure what's indented here: - setkey(data=NULL, kfree!=NULL) searched as if intended to reset the key, but updated by setting the key. Now always updates. - setkey(key=<not found>, data=NULL) could return either success or failure. Now succeeds iff (data == NULL && kfree == NULL).
CVS Web URLs: http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap_r/ http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap_r/tpool.c
Changes are generally available on cvs.openldap.org (and CVSweb) within 30 minutes of being committed.