#64 Error deleting last collection element
Closed: Invalid None Opened 14 years ago by dpal.

Doing code review found an issue with deleting items from collection.
If last item is deleted and the nan item is added to the end of the collection the program will (most likely) seg fault because the pointer in header of the collection is not adjusted.
Issue is in the delete section of the act_traverse_handler()


Did some testing and more code review. Seems like I was paranoid filing this bug. Will commit additional tests to the unit test to confirm that everything works.

Added unit test that proves that functionality works as expected.

resolution: => worksforme
status: new => closed

Fields changed

rhbz: => 0

Metadata Update from @dpal:
- Issue assigned to dpal
- Issue set to the milestone: SSSD 0.5.0

7 years ago

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/1106

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.

Login to comment on this ticket.

Metadata