From 498420dc260095a01aab1aa8454ce43ee9c2250f Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Fri, 24 Jan 2003 10:29:24 +0000 Subject: [PATCH] Check for pPB == NULL (courtesy Pierangelo) --- servers/slapd/slapi/plugin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/slapi/plugin.c b/servers/slapd/slapi/plugin.c index 46f3979ce3..772f76787d 100644 --- a/servers/slapd/slapi/plugin.c +++ b/servers/slapd/slapi/plugin.c @@ -574,6 +574,10 @@ doPluginFNs( int rc = 0; SLAPI_FUNC *pGetPlugin = NULL, *tmpPlugin = NULL; + if ( pPB == NULL ) { + return 0; + } + rc = getAllPluginFuncs(be, funcType, &tmpPlugin ); if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) { /* Nothing to do, front-end should ignore. */ -- 2.39.5