svn commit: samba r16456 - in branches/SAMBA_4_0/source/smb_server/smb2: .

metze at samba.org metze at samba.org
Thu Jun 22 07:36:01 GMT 2006


Author: metze
Date: 2006-06-22 07:36:00 +0000 (Thu, 22 Jun 2006)
New Revision: 16456

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

Log:
return on error...

metze
Modified:
   branches/SAMBA_4_0/source/smb_server/smb2/smb2_server.h


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb2/smb2_server.h
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb2/smb2_server.h	2006-06-22 02:21:58 UTC (rev 16455)
+++ branches/SAMBA_4_0/source/smb_server/smb2/smb2_server.h	2006-06-22 07:36:00 UTC (rev 16456)
@@ -70,11 +70,13 @@
 		DEBUG(0,("%s: buffer too small 0x%x. Expected 0x%x\n", \
 			 __location__, is_size, want_size)); \
 		smb2srv_send_error(req,  NT_STATUS_FOOBAR); \
+		return; \
 	}\
 	if (field_size != want_size) { \
 		DEBUG(0,("%s: unexpected fixed body size 0x%x. Expected 0x%x\n", \
 			 __location__, field_size, want_size)); \
 		smb2srv_send_error(req,  NT_STATUS_FOOBAR); \
+		return; \
 	} \
 } while (0)
 



More information about the samba-cvs mailing list