diff options
author | Günther Deschner <gd@samba.org> | 2009-04-03 12:50:50 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-03 12:53:35 +0200 |
commit | 43372b27403f617897bab564c42eead4d64532e4 (patch) | |
tree | f4fa24861b844501b6ebdca88c14e3c705ba591f /nsswitch | |
parent | 7ee4f168d8b18eaeed9cbdbf2db17090b8d35961 (diff) | |
download | samba-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.c | 1 |
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, |