don't dereference NULL pointers (ITS#5676)

This commit is contained in:
Pierangelo Masarati 2008-09-02 20:58:34 +00:00
parent f4b98b256c
commit 549134d514

View File

@ -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();