mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
don't dereference NULL pointers (ITS#5676)
This commit is contained in:
parent
f4b98b256c
commit
549134d514
@ -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 New Issue
Block a user