mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
don't dereference NULL pointers (ITS#5676)
This commit is contained in:
parent
f4b98b256c
commit
549134d514
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ dn2entry_retry:
|
|||
case DB_LOCK_NOTGRANTED:
|
||||
/* the txn must abort and retry */
|
||||
if ( txn ) {
|
||||
boi->boi_err = rc;
|
||||
if ( boi ) boi->boi_err = rc;
|
||||
return LDAP_BUSY;
|
||||
}
|
||||
ldap_pvt_thread_yield();
|
||||
|
|
|
|||
Loading…
Reference in a new issue