From: Luke Howard Date: Sat, 27 Dec 2003 08:43:02 +0000 (+0000) Subject: Initialize terminating bv_len in slapi_int_ldapmods2modifications X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~98 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=71dfd57e75a98d02c26ec823554035e5feae1675;p=openldap Initialize terminating bv_len in slapi_int_ldapmods2modifications --- diff --git a/servers/slapd/slapi/slapi_utils.c b/servers/slapd/slapi/slapi_utils.c index 7805a319a1..4cd38f9fb6 100644 --- a/servers/slapd/slapi/slapi_utils.c +++ b/servers/slapd/slapi/slapi_utils.c @@ -3456,6 +3456,7 @@ Modifications *slapi_int_ldapmods2modifications (LDAPMod **mods) } } mod->sml_bvalues[i].bv_val = NULL; + mod->sml_bvalues[i].bv_len = 0; } mod->sml_nvalues = NULL;