diff options
author | Simo Sorce <simo@metason.pico.li.ssimo.org> | 2009-10-27 09:16:36 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-27 09:30:49 -0400 |
commit | a982b0724e27f4059c2a150e591337d9511cb7be (patch) | |
tree | b9cee1eb0accd7a8025f66d180ead2ebbaaf5301 | |
parent | 76487d8a95ad5b875447f1ec20e0370908705889 (diff) | |
download | sssd-a982b0724e27f4059c2a150e591337d9511cb7be.tar.gz sssd-a982b0724e27f4059c2a150e591337d9511cb7be.tar.bz2 sssd-a982b0724e27f4059c2a150e591337d9511cb7be.zip |
Fix segfault
Fix copy/paste error that picked up the wrong request structure to pass down.
This was causing the talloc code that checks for the right signature to fail and
abort as the 2 request structures have different state structures attacched.
-rw-r--r-- | server/responder/pam/pamsrv_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c index dfe67cdf..db59279c 100644 --- a/server/responder/pam/pamsrv_cmd.c +++ b/server/responder/pam/pamsrv_cmd.c @@ -376,7 +376,7 @@ static void set_last_login_done(struct tevent_req *subreq) struct tevent_req); int ret; - ret = sysdb_transaction_commit_recv(req); + ret = sysdb_transaction_commit_recv(subreq); if (ret != EOK) { DEBUG(2, ("set_last_login failed.\n")); tevent_req_error(req, ret); |