svn commit: samba r11409 - in branches/SAMBA_4_0/source/libnet: .

abartlet at samba.org abartlet at samba.org
Mon Oct 31 03:06:14 GMT 2005


Author: abartlet
Date: 2005-10-31 03:06:13 +0000 (Mon, 31 Oct 2005)
New Revision: 11409

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

Log:
The use of 'password server = ' here is still bogus, but for now at
least don't allow binding to become uninitialised.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/libnet/libnet_vampire.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_vampire.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_vampire.c	2005-10-31 03:05:26 UTC (rev 11408)
+++ branches/SAMBA_4_0/source/libnet/libnet_vampire.c	2005-10-31 03:06:13 UTC (rev 11409)
@@ -163,6 +163,8 @@
 
 	if (bindings && bindings[0]) {
 		binding = bindings[0];
+	} else {
+		return NT_STATUS_INVALID_PARAMETER;
 	}
 
 	samsync_ctx = talloc_named(mem_ctx, 0, "SamSync top context");



More information about the samba-cvs mailing list