From e0f0a40497b37729af6c6b5b5e8795629cbac865 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 25 Apr 2003 10:27:55 +0000 Subject: [PATCH] ITS#2467 NULL pointer check --- servers/slapd/back-bdb/id2entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); }