svn commit: samba r7219 - in branches/SAMBA_4_0/source/auth: .

abartlet at samba.org abartlet at samba.org
Fri Jun 3 11:18:49 GMT 2005


Author: abartlet
Date: 2005-06-03 11:18:48 +0000 (Fri, 03 Jun 2005)
New Revision: 7219

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7219

Log:
Don't allow 'binding' to be used uninitilaised.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/auth/auth_domain.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_domain.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_domain.c	2005-06-03 11:18:07 UTC (rev 7218)
+++ branches/SAMBA_4_0/source/auth/auth_domain.c	2005-06-03 11:18:48 UTC (rev 7219)
@@ -49,6 +49,8 @@
 
 	if (bindings && bindings[0]) {
 		binding = bindings[0];
+	} else {
+		return NT_STATUS_INVALID_PARAMETER;
 	}
 
 	if (!user_info->account_name) {



More information about the samba-cvs mailing list