summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-06-05 14:31:41 +0200
committerStefan Metzmacher <metze@samba.org>2009-06-05 14:32:49 +0200
commitf40b9ed8e9cda6397b272b055bad1cc9d8b32fe2 (patch)
tree392d4bbc150cf4b8579aec1df294839889d6af65 /source3/smbd
parent5e0f122f7c00c7ba76a5f550c67ca31e5bea9aae (diff)
downloadsamba-f40b9ed8e9cda6397b272b055bad1cc9d8b32fe2.tar.gz
samba-f40b9ed8e9cda6397b272b055bad1cc9d8b32fe2.tar.bz2
samba-f40b9ed8e9cda6397b272b055bad1cc9d8b32fe2.zip
s3:smbd: add missing return statements to the SMB2 read error cases
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_read.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c
index 88668ab947..7a51cefe27 100644
--- a/source3/smbd/smb2_read.c
+++ b/source3/smbd/smb2_read.c
@@ -127,6 +127,7 @@ static void smbd_smb2_request_read_done(struct tevent_req *subreq)
nt_errstr(error));
return;
}
+ return;
}
out_data_offset = SMB2_HDR_BODY + 0x10;
@@ -141,6 +142,7 @@ static void smbd_smb2_request_read_done(struct tevent_req *subreq)
nt_errstr(error));
return;
}
+ return;
}
SSVAL(outbody.data, 0x00, 0x10 + 1); /* struct size */