summaryrefslogtreecommitdiffstats
path: root/src/resolv/async_resolv.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-08-06 21:15:42 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-09 16:00:46 +0200
commit49bc313040d96acab37f67c57d22bffac8fbe9c4 (patch)
tree6d15c1504a8c1b830e3bff2a03d52336c4ac7ca8 /src/resolv/async_resolv.c
parent049bf68953209ab200150b330f97eed3b9da9e67 (diff)
downloadsssd-49bc313040d96acab37f67c57d22bffac8fbe9c4.tar.gz
sssd-49bc313040d96acab37f67c57d22bffac8fbe9c4.tar.xz
sssd-49bc313040d96acab37f67c57d22bffac8fbe9c4.zip
LDAP: Fix crash when processing nested groupssssd-1.9.2-116.el6
https://fedorahosted.org/sssd/ticket/1932 There is a rather strange workaround in the nested groups processing code that calls tevent_req_post outside _send(). However, it broke in certain situations where the tevent_req_call resulted in req being freed, which freed state by extension and then the subsequent _post call was a use-after-free. This patch saves the two variables used outside state so that it's safe to use them even after the callback.
Diffstat (limited to 'src/resolv/async_resolv.c')
0 files changed, 0 insertions, 0 deletions