Commit 4a961ed6 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Catch slapmodify entry setup errors

parent 1899118e
......@@ -285,7 +285,9 @@ slapmodify( int argc, char **argv )
rc = (id == NOID);
if ( rc == LDAP_SUCCESS && lr.lr_op != LDAP_REQ_DELETE ) {
e_orig = be->be_entry_get( be, id );
e = entry_dup( e_orig );
if ( e_orig )
e = entry_dup( e_orig );
rc = (e == NULL);
}
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment