summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-28 09:40:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:24:40 -0500
commit6fbbef77e62336a0fd6c2e0ca5259a75629cd55f (patch)
tree2b153e6a8819132b1fc8623c789f5f51409385d8 /source4
parent9cd2b012f3bf9f21f321d44c43eb5a8a781d68fc (diff)
downloadsamba-6fbbef77e62336a0fd6c2e0ca5259a75629cd55f.tar.gz
samba-6fbbef77e62336a0fd6c2e0ca5259a75629cd55f.tar.bz2
samba-6fbbef77e62336a0fd6c2e0ca5259a75629cd55f.zip
r19505: fixed a valgrind error
(This used to be commit 8b9359aa7d7b60e0d5e36a2c736278f39dcb07bf)
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb/trans2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/smb_server/smb/trans2.c b/source4/smb_server/smb/trans2.c
index 1430ae8c14..1f34dfa4b4 100644
--- a/source4/smb_server/smb/trans2.c
+++ b/source4/smb_server/smb/trans2.c
@@ -595,6 +595,10 @@ static NTSTATUS trans2_parse_sfileinfo(struct smbsrv_request *req,
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,