mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't crash if no backend
This commit is contained in:
parent
8de6186e54
commit
8dd11efd39
1 changed files with 8 additions and 1 deletions
|
|
@ -173,7 +173,14 @@ getAllPluginFuncs(
|
|||
int numPB = 0;
|
||||
int rc = LDAP_SUCCESS;
|
||||
|
||||
assert( be );
|
||||
if ( be == NULL ) {
|
||||
/*
|
||||
* No plugins supported if no backend (yet)
|
||||
*/
|
||||
rc = LDAP_OTHER;
|
||||
goto done;
|
||||
}
|
||||
|
||||
assert( ppFuncPtrs );
|
||||
|
||||
pCurrentPB = (Slapi_PBlock *)(be->be_pb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue