mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Initialize terminating bv_len in slapi_int_ldapmods2modifications
This commit is contained in:
parent
74843e642a
commit
71dfd57e75
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user