[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Sat Aug 14 02:10:28 MDT 2010


The branch, master has been updated
       via  19280b6... s3: Fix an uninitialized variable
      from  4f8ef20... s3:auth Add error paths for invalid password_state values

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 19280b65a5744ffc23fae1918f371582a237c195
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Aug 14 10:06:55 2010 +0200

    s3: Fix an uninitialized variable

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/ntlmssp.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 6958a0d..477b94c 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -243,6 +243,9 @@ NTSTATUS ntlmssp_update(struct ntlmssp_state *ntlmssp_state,
 			/* 'datagram' mode - no neg packet */
 			ntlmssp_command = NTLMSSP_NEGOTIATE;
 			break;
+		default:
+			DEBUG(1, ("Invalid role: %d\n", ntlmssp_state->role));
+			return NT_STATUS_INVALID_PARAMETER;
 		}
 	} else {
 		if (!msrpc_parse(ntlmssp_state, &input, "Cd",


-- 
Samba Shared Repository


More information about the samba-cvs mailing list