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

tridge at samba.org tridge at samba.org
Sat Oct 28 09:40:01 GMT 2006


Author: tridge
Date: 2006-10-28 09:40:00 +0000 (Sat, 28 Oct 2006)
New Revision: 19505

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

Log:

fixed a valgrind error

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-10-28 06:06:15 UTC (rev 19504)
+++ branches/SAMBA_4_0/source/smb_server/smb/trans2.c	2006-10-28 09:40:00 UTC (rev 19505)
@@ -595,6 +595,10 @@
 	case RAW_SFILEINFO_1039:
 	case RAW_SFILEINFO_1040:
 		return NT_STATUS_INVALID_LEVEL;
+
+	default:
+		/* we need a default here to cope with invalid values on the wire */
+		return NT_STATUS_INVALID_LEVEL;
 	}
 
 	return smbsrv_pull_passthru_sfileinfo(st, passthru_level, st,



More information about the samba-cvs mailing list