1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s3-nsswitch: Fix Bug #6238 2nd part. zero blob pointer in wbcLogoffUserParams.

Patch from Rashid N. Achilov <citycat4@ngs.ru>.

Guenther
This commit is contained in:
Günther Deschner 2009-04-03 12:50:50 +02:00
parent 7ee4f168d8
commit 43372b2740

View File

@ -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,