Check for pPB == NULL (courtesy Pierangelo)

This commit is contained in:
Luke Howard 2003-01-24 10:29:24 +00:00
parent eb554ca792
commit 498420dc26

View File

@ -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. */