mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
ITS#9482 - Fix possiblity of uninitialized data being returned in slapi plugin
This commit is contained in:
parent
9d5267e14e
commit
180f5b62cb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user