diff options
author | Günther Deschner <gd@samba.org> | 2009-04-03 12:50:50 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-04-17 10:06:24 +0200 |
commit | 9ff316ea2fb927d46878cdae4d9fa0d7a3e9fe77 (patch) | |
tree | 77e58aa493ffcbc545d412ce43a1ca7342f39e6e | |
parent | 5094f0b593741bf6a62122390d46539d5136f1a2 (diff) | |
download | samba-9ff316ea2fb927d46878cdae4d9fa0d7a3e9fe77.tar.gz |
s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams.
Patch from Rashid N. Achilov <citycat4@ngs.ru>.
Guenther
(cherry picked from commit 43372b27403f617897bab564c42eead4d64532e4)
(cherry picked from commit 962a92024dda7db06d07d6e736d79d25c5d8f40a)
-rw-r--r-- | source/nsswitch/pam_winbind.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c index 46e142c091d..26ef1d4fae2 100644 --- a/source/nsswitch/pam_winbind.c +++ b/source/nsswitch/pam_winbind.c @@ -2406,6 +2406,7 @@ static int _pam_delete_cred(pam_handle_t *pamh, int flags, user, "wbcLogoffUser"); wbcFreeMemory(error); wbcFreeMemory(logoff.blobs); + logoff.blobs = NULL; if (!WBC_ERROR_IS_OK(wbc_status)) { _pam_log(ctx, LOG_INFO, |