Commit fb94c22a authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount

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

parent 7a8f7c6e
Pipeline #1973 passed with stage
in 48 minutes and 6 seconds
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment