ITS#9482 - Fix possiblity of uninitialized data being returned in slapi plugin

This commit is contained in:
Quanah Gibson-Mount 2021-03-05 22:16:45 +00:00
parent 9d5267e14e
commit 180f5b62cb

View File

@ -214,6 +214,7 @@ slapi_int_get_plugins(
int rc = LDAP_SUCCESS;
assert( ppFuncPtrs != NULL );
*ppFuncPtrs = NULL;
if ( be == NULL ) {
goto done;
@ -233,7 +234,6 @@ slapi_int_get_plugins(
}
if ( numPB == 0 ) {
*ppFuncPtrs = NULL;
rc = LDAP_SUCCESS;
goto done;
}