svn commit: samba r9226 - in branches/SAMBA_4_0/source/scripting/ejs: .

tridge at samba.org tridge at samba.org
Wed Aug 10 06:55:47 GMT 2005


Author: tridge
Date: 2005-08-10 06:55:46 +0000 (Wed, 10 Aug 2005)
New Revision: 9226

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

Log:
make sure we catch rpc faults in the ejs rpc wrappers

Modified:
   branches/SAMBA_4_0/source/scripting/ejs/smbcalls_rpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls_rpc.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbcalls_rpc.c	2005-08-09 22:44:51 UTC (rev 9225)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls_rpc.c	2005-08-10 06:55:46 UTC (rev 9226)
@@ -341,6 +341,9 @@
 		goto done;
 	}
 	status = dcerpc_ndr_request_recv(req);
+	if (!NT_STATUS_IS_OK(status)) {
+		goto done;
+	}
 
 	/* print the 'out' structure, if needed */
 	if (p->conn->flags & DCERPC_DEBUG_PRINT_OUT) {



More information about the samba-cvs mailing list