mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Check for pPB == NULL (courtesy Pierangelo)
This commit is contained in:
parent
eb554ca792
commit
498420dc26
@ -574,6 +574,10 @@ doPluginFNs(
|
|||||||
int rc = 0;
|
int rc = 0;
|
||||||
SLAPI_FUNC *pGetPlugin = NULL, *tmpPlugin = NULL;
|
SLAPI_FUNC *pGetPlugin = NULL, *tmpPlugin = NULL;
|
||||||
|
|
||||||
|
if ( pPB == NULL ) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
rc = getAllPluginFuncs(be, funcType, &tmpPlugin );
|
rc = getAllPluginFuncs(be, funcType, &tmpPlugin );
|
||||||
if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) {
|
if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) {
|
||||||
/* Nothing to do, front-end should ignore. */
|
/* Nothing to do, front-end should ignore. */
|
||||||
|
Loading…
Reference in New Issue
Block a user