mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
cure ITS#3602
This commit is contained in:
parent
d92eaaa79a
commit
c90998e60d
1 changed files with 7 additions and 1 deletions
|
|
@ -53,7 +53,13 @@ dn2entry_retry:
|
|||
/* get entry */
|
||||
rc = bdb_dn2entry( op, NULL, &op->o_req_ndn, &ei, 1, locker, &lock );
|
||||
|
||||
/* bdb_dn2entry() may legally leave ei == NULL
|
||||
* if rc != 0 and rc != DB_NOTFOUND
|
||||
*/
|
||||
if ( ei ) {
|
||||
e = ei->bei_e;
|
||||
}
|
||||
|
||||
switch(rc) {
|
||||
case DB_NOTFOUND:
|
||||
case 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue