#50738 Ticket 50736 - RetroCL trimming may crash at shutdown if trimming configuration is invalid
Closed by spichugi. Opened by tbordaz.
tbordaz/389-ds-base ticket_50736  into  master

Download 50738.patch

Bug Description:
If config of retroCL trimming contains invalid value for trim-interval
and/or maxage, then the trimming initialization is skipped.
In such case the trimming structures are not allocated and if they
are freed at shutdown it triggers a crash

Fix Description:
When trimming mechanism is stopped (at shutdown) check that
it was successfully initialized before freeing the structs

https://pagure.io/389-ds-base/issue/50736

Reviewed by: ?

Platforms tested: F30

Flag Day: no

Doc impact: no

rebased onto a338bf735ffb54ef06cf57483263d061a2b32b7e

rebased onto 94354d8bee9b5882c14337f0b2eb11664c7f6c5f

Pull-Request has been merged by tbordaz

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

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3793

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata