mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
NULL out spurious text (ITS#5688)
This commit is contained in:
parent
d39c2f7eff
commit
55cb219adc
2 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ get_ava(
|
|||
Debug( LDAP_DEBUG_FILTER,
|
||||
"get_ava: illegal value for attributeType %s\n", type.bv_val, 0, 0 );
|
||||
ber_dupbv_x( &aa->aa_value, &value, op->o_tmpmemctx );
|
||||
*text = NULL;
|
||||
rc = LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -478,6 +478,7 @@ return_error:
|
|||
return rc;
|
||||
}
|
||||
|
||||
*text = NULL;
|
||||
rc = LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue