mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
fix helper pointer inizialization (coverity)
This commit is contained in:
parent
3f9df357e8
commit
55e908dca2
1 changed files with 2 additions and 0 deletions
|
|
@ -444,6 +444,7 @@ memberof_value_modify(
|
|||
assert( !BER_BVISNULL( new_dn ) );
|
||||
assert( !BER_BVISNULL( new_ndn ) );
|
||||
|
||||
ml = &mod[ 1 ];
|
||||
ml->sml_op = LDAP_MOD_ADD;
|
||||
|
||||
ml->sml_values[ 0 ] = *new_dn;
|
||||
|
|
@ -463,6 +464,7 @@ memberof_value_modify(
|
|||
assert( !BER_BVISNULL( old_dn ) );
|
||||
assert( !BER_BVISNULL( old_ndn ) );
|
||||
|
||||
ml = &mod[ 1 ];
|
||||
ml->sml_op = LDAP_MOD_DELETE;
|
||||
|
||||
ml->sml_values[ 0 ] = *old_dn;
|
||||
|
|
|
|||
Loading…
Reference in a new issue