summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-06-22 07:36:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:16 -0500
commit74d58ab06fab0f3f893b042dfaa88a1842043fd8 (patch)
tree06016d6c96594045829095a38867db0df4725344 /source4
parent2a3bcdb530cbf48a99d046abe3068a700afeb336 (diff)
downloadsamba-74d58ab06fab0f3f893b042dfaa88a1842043fd8.tar.gz
samba-74d58ab06fab0f3f893b042dfaa88a1842043fd8.tar.bz2
samba-74d58ab06fab0f3f893b042dfaa88a1842043fd8.zip
r16456: return on error...
metze (This used to be commit 44ab067d146503bd1cc008cf01c08b91fb14b204)
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb2/smb2_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/smb_server/smb2/smb2_server.h b/source4/smb_server/smb2/smb2_server.h
index 57563cf0f5..f3ac78dee3 100644
--- 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)