From: Howard Chu Date: Fri, 25 Apr 2003 10:27:55 +0000 (+0000) Subject: ITS#2467 NULL pointer check X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~241 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0f0a40497b37729af6c6b5b5e8795629cbac865;p=openldap ITS#2467 NULL pointer check --- diff --git a/servers/slapd/back-bdb/id2entry.c b/servers/slapd/back-bdb/id2entry.c index 6a97c0e27c..492af33d7c 100644 --- a/servers/slapd/back-bdb/id2entry.c +++ b/servers/slapd/back-bdb/id2entry.c @@ -291,7 +291,7 @@ dn2entry_retry: ldap_pvt_thread_yield(); goto dn2entry_retry; default: - boi->boi_err = rc; + if ( boi ) boi->boi_err = rc; if ( free_lock_id ) { LOCK_ID_FREE( bdb->bi_dbenv, locker ); }