From: Luke Howard Date: Fri, 24 Jan 2003 10:29:24 +0000 (+0000) Subject: Check for pPB == NULL (courtesy Pierangelo) X-Git-Tag: NO_SLAP_OP_BLOCKS~505 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=498420dc260095a01aab1aa8454ce43ee9c2250f;p=openldap Check for pPB == NULL (courtesy Pierangelo) --- 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. */