summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-03 12:50:50 +0200
committerGünther Deschner <gd@samba.org>2009-04-03 12:53:35 +0200
commit43372b27403f617897bab564c42eead4d64532e4 (patch)
treef4fa24861b844501b6ebdca88c14e3c705ba591f /nsswitch
parent7ee4f168d8b18eaeed9cbdbf2db17090b8d35961 (diff)
downloadsamba-43372b27403f617897bab564c42eead4d64532e4.tar.gz
samba-43372b27403f617897bab564c42eead4d64532e4.tar.bz2
samba-43372b27403f617897bab564c42eead4d64532e4.zip
s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams.
Patch from Rashid N. Achilov <citycat4@ngs.ru>. Guenther
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/pam_winbind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index 5feccb6723..0d33f59a23 100644
--- a/nsswitch/pam_winbind.c
+++ b/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,