]> git.sur5r.net Git - openldap/commitdiff
Check for pPB == NULL (courtesy Pierangelo)
authorLuke Howard <lukeh@openldap.org>
Fri, 24 Jan 2003 10:29:24 +0000 (10:29 +0000)
committerLuke Howard <lukeh@openldap.org>
Fri, 24 Jan 2003 10:29:24 +0000 (10:29 +0000)
servers/slapd/slapi/plugin.c

index 46f3979ce34ebfa8b4614efc653aee07639a304c..772f76787dc0323c8de776be6ecc979c4c12c52d 100644 (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. */