This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch master
in repository 389-ds-base.
The following commit(s) were added to refs/heads/master by this push:
new fdf59ee Issue 50431 - Fix regression from coverity fix
fdf59ee is described below
commit fdf59ee0545efb7de91266bb3ba6e90270286865
Author: Mark Reynolds <mreynolds(a)redhat.com>
AuthorDate: Mon Jul 8 14:00:28 2019 -0400
Issue 50431 - Fix regression from coverity fix
Description: Fix a regression from the initial coverity commit that
caused the memebrOf groupattrs to become corrupted and
crash the server.
https://pagure.io/389-ds-base/issue/50431
Reviewed by: vashirov(Thanks!)
---
ldap/servers/plugins/memberof/memberof_config.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ldap/servers/plugins/memberof/memberof_config.c
b/ldap/servers/plugins/memberof/memberof_config.c
index 124217e..6729c3a 100644
--- a/ldap/servers/plugins/memberof/memberof_config.c
+++ b/ldap/servers/plugins/memberof/memberof_config.c
@@ -550,8 +550,9 @@ memberof_apply_config(Slapi_PBlock *pb __attribute__((unused)),
}
/* Build the new list */
- for (i = 0; theConfig.group_slapiattrs && theConfig.group_slapiattrs[i]
&&
- theConfig.groupattrs && theConfig.groupattrs[i]; i++)
+ for (i = 0; theConfig.group_slapiattrs &&
+ theConfig.groupattrs &&
+ theConfig.groupattrs[i]; i++)
{
theConfig.group_slapiattrs[i] = slapi_attr_new();
slapi_attr_init(theConfig.group_slapiattrs[i], theConfig.groupattrs[i]);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.