mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix typos leading to memory issues
This commit is contained in:
parent
263b8e72d5
commit
7198e9e4b9
@ -577,7 +577,7 @@ meta_send_entry(
|
||||
* FIXME: should we log anything, or delegate to dnNormalize?
|
||||
*/
|
||||
if ( dnNormalize( 0, NULL, NULL, &ent.e_name, &ent.e_nname,
|
||||
&op->o_tmpmemctx ) != LDAP_SUCCESS )
|
||||
op->o_tmpmemctx ) != LDAP_SUCCESS )
|
||||
{
|
||||
return LDAP_INVALID_DN_SYNTAX;
|
||||
}
|
||||
@ -690,7 +690,7 @@ meta_send_entry(
|
||||
attr->a_desc->ad_type->sat_syntax,
|
||||
attr->a_desc->ad_type->sat_equality,
|
||||
&attr->a_vals[i], &attr->a_nvals[i],
|
||||
op->o_tmpmemctx );
|
||||
NULL );
|
||||
}
|
||||
attr->a_nvals[i].bv_val = NULL;
|
||||
attr->a_nvals[i].bv_len = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user