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:
2a3bcdb
)
r16456: return on error...
author
Stefan Metzmacher
<metze@samba.org>
Thu, 22 Jun 2006 07:36:00 +0000
(07:36 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:09:16 +0000
(14:09 -0500)
metze
(This used to be commit
44ab067d146503bd1cc008cf01c08b91fb14b204
)
source4/smb_server/smb2/smb2_server.h
patch
|
blob
|
history
diff --git
a/source4/smb_server/smb2/smb2_server.h
b/source4/smb_server/smb2/smb2_server.h
index 57563cf0f5dc1a46ed95d66ca35f98f101ab5c0c..f3ac78dee3a21879c7023a9f9272a7022058871b 100644
(file)
--- a/
source4/smb_server/smb2/smb2_server.h
+++ b/
source4/smb_server/smb2/smb2_server.h
@@
-70,11
+70,13
@@
struct smbsrv_request;
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)