URL:
https://github.com/SSSD/sssd/pull/392
Author: jhrozek
Title: #392: GPO: Don't use freed LDAPURLDesc if domain for AD DC cannot be found
Action: opened
PR body:
"""
If a referral returned during AD GPO processing cannot be assigned to a
known domain, at the moment SSSD accesses memory that was freed previously
with ldap_free_urldesc().
This patch moves the ldap_free_urldesc() call to both the error handler and
the success branch after we are done working with the LDAPURLDesc instance.
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/392/head:pr392
git checkout pr392