Commit 180f5b62 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

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

parent 9d5267e1
......@@ -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