]> git.sur5r.net Git - openldap/commitdiff
Initialize terminating bv_len in slapi_int_ldapmods2modifications
authorLuke Howard <lukeh@openldap.org>
Sat, 27 Dec 2003 08:43:02 +0000 (08:43 +0000)
committerLuke Howard <lukeh@openldap.org>
Sat, 27 Dec 2003 08:43:02 +0000 (08:43 +0000)
servers/slapd/slapi/slapi_utils.c

index 7805a319a1506518fc1651bcec9815154a2253ef..4cd38f9fb6f4bcc7ce14b0ccb45d646bc75c4bf9 100644 (file)
@@ -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;