From d9df909ba44bff2a504d9fe400d5a6ced07c54c9 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 9 Apr 2005 07:45:14 +0000 Subject: [PATCH] ITS#3638 Init ids to zero in bdb_dn2idl --- servers/slapd/back-bdb/dn2id.c | 1 + 1 file changed, 1 insertion(+) 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 ) { -- 2.39.5