git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cd2b01
)
r19505: fixed a valgrind error
author
Andrew Tridgell
<tridge@samba.org>
Sat, 28 Oct 2006 09:40:00 +0000
(09:40 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:24:40 +0000
(14:24 -0500)
(This used to be commit
8b9359aa7d7b60e0d5e36a2c736278f39dcb07bf
)
source4/smb_server/smb/trans2.c
patch
|
blob
|
history
diff --git
a/source4/smb_server/smb/trans2.c
b/source4/smb_server/smb/trans2.c
index 1430ae8c1486ec46851aba2acb0eaa55f272d3fa..1f34dfa4b40ccf671faf8265b67b24442fbbee3c 100644
(file)
--- 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,