URL: https://github.com/SSSD/sssd/pull/686 Author: pbrezina Title: #686: nss: use enumeration context as talloc parent for cache req result Action: opened
PR body: """ Otherwise we end up with memory leak since the result is never freed.
Resolves: https://pagure.io/SSSD/sssd/issue/3870 """
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/686/head:pr686 git checkout pr686
URL: https://github.com/SSSD/sssd/pull/686 Title: #686: nss: use enumeration context as talloc parent for cache req result
jhrozek commented: """ retest this please """
See the full comment at https://github.com/SSSD/sssd/pull/686#issuecomment-434817136
URL: https://github.com/SSSD/sssd/pull/686 Title: #686: nss: use enumeration context as talloc parent for cache req result
jhrozek commented: """ I restarted the CI but I suspect the failure is genuine, because I also submitted the same patch to our internal CI and the runs are (on all systemd) stuck. """
See the full comment at https://github.com/SSSD/sssd/pull/686#issuecomment-434817421
URL: https://github.com/SSSD/sssd/pull/686 Author: pbrezina Title: #686: nss: use enumeration context as talloc parent for cache req result Action: synchronized
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/686/head:pr686 git checkout pr686
URL: https://github.com/SSSD/sssd/pull/686 Title: #686: nss: use enumeration context as talloc parent for cache req result
pbrezina commented: """ `nctx->pwent` and similar were not talloc pointers so sssd crashed. I pushed new patches. """
See the full comment at https://github.com/SSSD/sssd/pull/686#issuecomment-436240470
URL: https://github.com/SSSD/sssd/pull/686 Title: #686: nss: use enumeration context as talloc parent for cache req result
Label: +Accepted
URL: https://github.com/SSSD/sssd/pull/686 Title: #686: nss: use enumeration context as talloc parent for cache req result
jhrozek commented: """ Thank you for the explanation, I think this works fine. """
See the full comment at https://github.com/SSSD/sssd/pull/686#issuecomment-440947096
URL: https://github.com/SSSD/sssd/pull/686 Title: #686: nss: use enumeration context as talloc parent for cache req result
jhrozek commented: """ So far I pushed the patch to master with 406b731ddfbeb62623640cc37a7adc76af0a4b22 but I suspect we'll do a 1-16 backport later.. """
See the full comment at https://github.com/SSSD/sssd/pull/686#issuecomment-441123827
URL: https://github.com/SSSD/sssd/pull/686 Title: #686: nss: use enumeration context as talloc parent for cache req result
Label: +Pushed
URL: https://github.com/SSSD/sssd/pull/686 Author: pbrezina Title: #686: nss: use enumeration context as talloc parent for cache req result Action: closed
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/686/head:pr686 git checkout pr686
sssd-devel@lists.fedorahosted.org