Initialize terminating bv_len in slapi_int_ldapmods2modifications

This commit is contained in:
Luke Howard 2003-12-27 08:43:02 +00:00
parent 74843e642a
commit 71dfd57e75

View 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;