#1647 LDAP provider fails to save empty groups
Closed: Fixed Opened by jhrozek.

This is another ghost-users related regression. A logic bug in the LDAP provider causes an attempt to allocate a zero-length array for group members while processing an empty group. The allocation would return NULL and saving the empty group would fail.


This is a regression that would bite anyone who runs a setup that contains emty groups. Needs to go into 1.9.3.

milestone: NEEDS_TRIAGE => SSSD 1.9.3
owner: somebody => jhrozek
priority: major => blocker
status: new => assigned

Patch on list.

patch: 0 => 1

Please add steps to reproduce.

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=877130

rhbz: => [https://bugzilla.redhat.com/show_bug.cgi?id=877130 877130]

Replying to [comment:3 dpal]:

Please add steps to reproduce.

https://bugzilla.redhat.com/show_bug.cgi?id=877130#c1

Fixed in master:
- c9e8154b32fb3fea639478c203bb1079c18e7bca
- b893cb4f3567d2dd571debf6dbf0d50a38f86823
- a663086f53dc892453d40483e629686bb1f411d2
- 49948edec19ff4fe164d5370a72072ad2beb7c2f
and sssd-1-9:
- 2e203229c43147f4999bfbdbbe50e875e3e01f00
- a00c1d4e9e34526c25a43bf7c900a1742d4ac17d
- a2fba7ed4c138d8fef6a5f0e17a249225b85359c
- ebdc4a63d5c5e77564cbf231d0e1f71b5c53c6e7

resolution: => fixed
status: assigned => closed

Metadata Update from @jhrozek:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD 1.9.3

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2689

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata