summaryrefslogtreecommitdiffstats
path: root/src/responder
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-08-07 13:01:09 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-08 00:30:57 +0200
commitf7aef1e3ca5bdcddb6fb7c7e6556315faa96165d (patch)
tree04d1fc4510c3e78bf23ffcf05ae7f33dd0e3b436 /src/responder
parentd35ff4d0db1cd87c94091a85846b46e4732b1eee (diff)
downloadsssd-f7aef1e3ca5bdcddb6fb7c7e6556315faa96165d.tar.gz
sssd-f7aef1e3ca5bdcddb6fb7c7e6556315faa96165d.tar.xz
sssd-f7aef1e3ca5bdcddb6fb7c7e6556315faa96165d.zip
Fix memory context for hash entries
In sdap_nested_group_populate_users() username and orignal_dn are allocated on a temporary memory context. If the corresponding user is not found in the cache both are added to a hash which is later on returned to the caller. To avoid a use-after-free when the hash entries are looked up both must be reassigned to the memory context of the hash.
Diffstat (limited to 'src/responder')
0 files changed, 0 insertions, 0 deletions