From 71dfd57e75a98d02c26ec823554035e5feae1675 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 27 Dec 2003 08:43:02 +0000 Subject: [PATCH] Initialize terminating bv_len in slapi_int_ldapmods2modifications --- servers/slapd/slapi/slapi_utils.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5