summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-06 20:16:04 +0100
committerVolker Lendecke <vl@samba.org>2008-11-08 10:42:28 +0100
commit8637dd12325369e0056d77924cac577a67f2a0ab (patch)
tree7a10611c83011d8bcb56ffe1bdd888d73ccdbdd0 /source3/smbd
parent807ad174b288e4c3d36ed02e5ef02cd7a848ce0e (diff)
downloadsamba-8637dd12325369e0056d77924cac577a67f2a0ab.tar.gz
samba-8637dd12325369e0056d77924cac577a67f2a0ab.tar.bz2
samba-8637dd12325369e0056d77924cac577a67f2a0ab.zip
change CHECK_READ to use smb_request instead of inbuf
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 377ba4e530..be39fd464d 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2894,7 +2894,7 @@ void reply_lockread(struct smb_request *req)
return;
}
- if (!CHECK_READ(fsp,req->inbuf)) {
+ if (!CHECK_READ(fsp,req)) {
reply_doserror(req, ERRDOS, ERRbadaccess);
END_PROFILE(SMBlockread);
return;
@@ -3002,7 +3002,7 @@ void reply_read(struct smb_request *req)
return;
}
- if (!CHECK_READ(fsp,req->inbuf)) {
+ if (!CHECK_READ(fsp,req)) {
reply_doserror(req, ERRDOS, ERRbadaccess);
END_PROFILE(SMBread);
return;
@@ -3255,7 +3255,7 @@ void reply_read_and_X(struct smb_request *req)
return;
}
- if (!CHECK_READ(fsp,req->inbuf)) {
+ if (!CHECK_READ(fsp,req)) {
reply_doserror(req, ERRDOS,ERRbadaccess);
END_PROFILE(SMBreadX);
return;