diff options
author | Pavel Březina <pbrezina@redhat.com> | 2017-10-19 10:39:21 +0200 |
---|---|---|
committer | Pavel Březina <pbrezina@redhat.com> | 2017-10-31 10:48:55 +0100 |
commit | e5ca30a04151e9b597363f4e1234674f96349706 (patch) | |
tree | 275c25cfb5460365d2434bd5a3cb97aed3f15483 /src/python | |
parent | 1185cbce8d5dd04e539ca74d8f9564e5715a78aa (diff) | |
download | sssd-sudo.tar.gz sssd-sudo.tar.xz sssd-sudo.zip |
sudo: always use srv_opts from id contextsudo
Prior this patch, we remember id_ctx->srv_opts in sudo request to switch
the latest usn values. This works fine most of the time but it may cause
a crash.
If we have two concurrent sudo refresh and one of these fails, it causes
failover to try the next server and possibly replacing the old srv_opts
with new one and it causes an access after free in the other refresh.
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions