Bug: if the ldif to be imported contains only one entry there are no leaf nodes and the call to qsort crashes
Fix: check that nodes is not NULL
ack
Pull-Request has been merged by lkrispen
@lkrispen - can you cherry-pick/port this to 1.4.1, 1.4.0, and 1.3.10? Thanks!
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/3727
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
Bug: if the ldif to be imported contains only one entry there are no leaf nodes
and the call to qsort crashes