summaryrefslogtreecommitdiffstats
path: root/src/man/include
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-11-18 20:48:51 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-12-07 16:13:35 +0100
commita92f68763a57b211a1bf6b80b6dd80c4a1aa2738 (patch)
treebe7bc80881885c004115c17a5c4fc5f2486c9851 /src/man/include
parent9f69dff2af5ee0e922ca75efa9749913fd2d944f (diff)
downloadsssd-a92f68763a57b211a1bf6b80b6dd80c4a1aa2738.tar.gz
sssd-a92f68763a57b211a1bf6b80b6dd80c4a1aa2738.tar.xz
sssd-a92f68763a57b211a1bf6b80b6dd80c4a1aa2738.zip
FO: Use tevent_req_defer_callback() when notifying callers
If a fo_resolve_service callback would modify the server->common member in any way, for example by dereferencing the server and lowering the refcount to 0, which would free the common structure, then the next iteration of fo_resolve_service_done would access memory that was already gone. Please see https://tevent.samba.org/group__tevent__request.html#ga09373077d0b39e321a196a86bfebf280 for more details. Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/man/include')
0 files changed, 0 insertions, 0 deletions