diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2017-09-20 22:26:20 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2017-10-05 20:01:43 +0200 |
commit | 381bc154ef06fd3cc0660ce0fd62504367f420f5 (patch) | |
tree | 9635209fb982ca07105b5ac2d542b58c64c5f663 /src/external/pac_responder.m4 | |
parent | 613a832d5bbf4c8174adbc1dcd881c59660cb0f1 (diff) | |
download | sssd-381bc154ef06fd3cc0660ce0fd62504367f420f5.tar.gz sssd-381bc154ef06fd3cc0660ce0fd62504367f420f5.tar.xz sssd-381bc154ef06fd3cc0660ce0fd62504367f420f5.zip |
GPO: Don't use freed LDAPURLDesc if domain for AD DC cannot be found
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.
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'src/external/pac_responder.m4')
0 files changed, 0 insertions, 0 deletions