From: Quanah Gibson-Mount Date: Sun, 12 Dec 2010 02:58:11 +0000 (+0000) Subject: ITS#6649 X-Git-Tag: OPENLDAP_REL_ENG_2_4_24~253 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5983162e1faf855f8f23cc1087b468c149a85a47;p=openldap ITS#6649 --- diff --git a/CHANGES b/CHANGES index 4d4b33f5fc..ed677b9887 100644 --- a/CHANGES +++ b/CHANGES @@ -13,6 +13,7 @@ OpenLDAP 2.4.24 Engineering Fixed slapo-pcache callback freeing (ITS#6640) Fixed slapo-pcache to ignore undefined attrs (ITS#6600) Fixed slapo-ppolicy don't update opattrs on consumers (ITS#6608) + Fixed slapo-sssvlv initialization (ITS#6649) Fixed slapo-syncprov to send error if consumer is newer (ITS#6606) Documentation admin24 guide typo fixes (ITS#6609) diff --git a/servers/slapd/overlays/sssvlv.c b/servers/slapd/overlays/sssvlv.c index 10dde1f249..10a0d00cb7 100644 --- a/servers/slapd/overlays/sssvlv.c +++ b/servers/slapd/overlays/sssvlv.c @@ -801,9 +801,9 @@ static int sssvlv_op_search( op->o_tmpmemctx ); /* Install serversort response callback to handle a new search */ if ( ps || vc ) { - so = ch_malloc( sizeof(sort_op)); + so = ch_calloc( 1, sizeof(sort_op)); } else { - so = op->o_tmpalloc( sizeof(sort_op), op->o_tmpmemctx ); + so = op->o_tmpcalloc( 1, sizeof(sort_op), op->o_tmpmemctx ); } sort_conns[op->o_conn->c_conn_idx] = so;