From: Howard Chu Date: Sat, 9 Apr 2005 07:45:14 +0000 (+0000) Subject: ITS#3638 Init ids to zero in bdb_dn2idl X-Git-Tag: OPENLDAP_AC_BP~952 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9df909ba44bff2a504d9fe400d5a6ced07c54c9;p=openldap ITS#3638 Init ids to zero in bdb_dn2idl --- diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index c76c8ea613..14f587f0fe 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -361,6 +361,7 @@ bdb_dn2idl( ((char *)key.data)[0] = prefix; AC_MEMCPY( &((char *)key.data)[1], e->e_nname.bv_val, key.size - 1 ); + BDB_IDL_ZERO( ids ); rc = bdb_idl_fetch_key( op->o_bd, db, NULL, &key, ids, NULL, 0 ); if( rc != 0 ) {