]> git.sur5r.net Git - openldap/commitdiff
ITS#6403
authorQuanah Gibson-Mount <quanah@openldap.org>
Wed, 2 Dec 2009 20:32:37 +0000 (20:32 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 2 Dec 2009 20:32:37 +0000 (20:32 +0000)
CHANGES
servers/slapd/overlays/translucent.c

diff --git a/CHANGES b/CHANGES
index 8d3574db61b11cc077e978a34cb4bec1c53b3557..ccc1af907afa238e07fecd57285be19a12da42ff 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,7 @@ OpenLDAP 2.4 Change Log
 OpenLDAP 2.4.21 Engineering
        Fixed liblutil for negative time offsets (ITS#6405)
        Fixed slapd use correct ce_type (ITS#6408)
+       Fixed slapo-translucent with back-null (ITS#6403)
        Fixed slapo-unique conflict with ppolicy (ITS#6270)
        Build Environment
                Fixed broken LBER_INVALID macro (ITS#6402)
index 4ec20a31a8d963f60c8b07f33413dc1aa4abb0e9..34b23b6362834e1b3f8a251b5337b190f5657172 100644 (file)
@@ -585,7 +585,7 @@ static int translucent_compare(Operation *op, SlapReply *rs) {
        slap_overinst *on = (slap_overinst *) op->o_bd->bd_info;
        translucent_info *ov = on->on_bi.bi_private;
        AttributeAssertion *ava = op->orc_ava;
-       Entry *e;
+       Entry *e = NULL;
        BackendDB *db;
        int rc;
 
@@ -852,6 +852,7 @@ static int translucent_search_cb(Operation *op, SlapReply *rs) {
        } else {
        /* Else we have remote, get local */
                op->o_bd = tc->db;
+               le = NULL;
                rc = overlay_entry_get_ov(op, &rs->sr_entry->e_nname, NULL, NULL, 0, &le, on);
                if ( rc == LDAP_SUCCESS && le ) {
                        re = entry_dup( rs->sr_entry );