Skip to content
Snippets Groups Projects
Commit 4f44b77e authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

fix helper pointer initialization (coverity)

parent cd0dc29c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment