Closed 389-ds-bot closed 4 years ago
Comment from firstyear (@Firstyear) at 2017-03-22 02:23:53
Metadata Update from @Firstyear:
Comment from firstyear (@Firstyear) at 2017-03-23 03:08:37
@tbordaz Do you have any ideas on this?
Comment from firstyear (@Firstyear) at 2017-03-23 03:08:47
Metadata Update from @Firstyear:
Comment from tbordaz (@tbordaz) at 2017-03-23 10:51:45
I think I found the problem. 'data' is memberof_del_dn_data.
typedef struct _memberof_del_dn_data { char dn; char type; } memberof_del_dn_data;
but in memberof_call_foreach_dn, it is accessed as if it is memberof_get_groups_data typedef struct _memberof_get_groups_data { MemberOfConfig config; Slapi_Value memberdn_val; Slapi_ValueSet groupvals; Slapi_ValueSet group_norm_vals; Slapi_ValueSet **already_seen_ndn_vals; PRBool use_cache; } memberof_get_groups_data;
So my first feeling is that there is a bug but I need to confirm this.
Comment from firstyear (@Firstyear) at 2017-03-24 00:57:23
Ahhh excellent. Do you want me to assign this to you then? I found this issue with an ASAN build on a freeipa install.
Comment from tbordaz (@tbordaz) at 2017-03-24 14:27:45
Hi william, Yes please assign it to me. Need to clarify if it is a real issue, impacts and fix it.
thanks
Comment from firstyear (@Firstyear) at 2017-03-27 01:48:16
Metadata Update from @Firstyear:
Comment from tbordaz (@tbordaz) at 2017-03-31 18:34:24
Comment from firstyear (@Firstyear) at 2017-04-03 01:13:42
Codewise, I'm willing to ack this as I understand how the fix works and how the issue arose now. Thanks for your great commit message!
I have not run the tests though. Would you like me to do this?
Comment from tbordaz (@tbordaz) at 2017-04-13 16:13:12
Metadata Update from @tbordaz:
Comment from tbordaz (@tbordaz) at 2017-04-13 16:14:31
Rework of the previous patch.. to make it simpler
Comment from tbordaz (@tbordaz) at 2017-04-13 16:15:13
Metadata Update from @tbordaz:
Comment from mreynolds (@mreynolds389) at 2017-04-13 16:19:38
Metadata Update from @mreynolds389:
Comment from tbordaz (@tbordaz) at 2017-04-13 16:47:29
Thanks Mark for the review
git push origin master
Counting objects: 11, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 3.21 KiB | 0 bytes/s, done.
Total 11 (delta 7), reused 0 (delta 0)
To ssh://git@pagure.io/389-ds-base.git
4b5aeae..7404525 master -> master
Comment from tbordaz (@tbordaz) at 2017-04-13 16:47:33
Metadata Update from @tbordaz:
Comment from tbordaz (@tbordaz) at 2017-04-13 18:39:34
Metadata Update from @tbordaz:
Comment from firstyear (@Firstyear) at 2017-04-18 02:01:29
I'll be sure to test this again soon, thanks for the fix @tbordaz
Comment from mreynolds (@mreynolds389) at 2017-06-06 16:54:17
Adjust logging level:
32d46d2..bcbc3e9 master -> master
22f4326..306e217 389-ds-base-1.3.6 -> 389-ds-base-1.3.6
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49184
Issue Description