svn commit: samba r15739 - in branches/SAMBA_4_0/source/smb_server/smb: .

metze at samba.org metze at samba.org
Sat May 20 10:31:24 GMT 2006


Author: metze
Date: 2006-05-20 10:31:23 +0000 (Sat, 20 May 2006)
New Revision: 15739

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

Log:
return False when the function is called with an invalid level

metze
Modified:
   branches/SAMBA_4_0/source/smb_server/smb/trans2.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb/trans2.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb/trans2.c	2006-05-20 09:54:10 UTC (rev 15738)
+++ branches/SAMBA_4_0/source/smb_server/smb/trans2.c	2006-05-20 10:31:23 UTC (rev 15739)
@@ -1086,7 +1086,7 @@
 	case RAW_SEARCH_FUNIQUE:
 	case RAW_SEARCH_GENERIC:
 		/* handled elsewhere */
-		break;
+		return False;
 
 	case RAW_SEARCH_STANDARD:
 		if (state->flags & FLAG_TRANS2_FIND_REQUIRE_RESUME) {



More information about the samba-cvs mailing list