From f40b9ed8e9cda6397b272b055bad1cc9d8b32fe2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 5 Jun 2009 14:31:41 +0200 Subject: s3:smbd: add missing return statements to the SMB2 read error cases metze --- source3/smbd/smb2_read.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- cgit