summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 11:55:42 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:52 +0200
commitdd192bb649341d0f2bd91350c7efe98dbdb47172 (patch)
tree272980c3fd7e81f4b04e8142ec930c9e74afedbe /source3/smbd/process.c
parent73955a2d92bff0dd78b42f9ec34835fb6a78583a (diff)
downloadsamba-dd192bb649341d0f2bd91350c7efe98dbdb47172.tar.gz
samba-dd192bb649341d0f2bd91350c7efe98dbdb47172.tar.bz2
samba-dd192bb649341d0f2bd91350c7efe98dbdb47172.zip
s3: Explicitly pass sconn to is_valid_writeX_buffer
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 629465cc83..c4e13ecd6d 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -263,7 +263,8 @@ static NTSTATUS receive_smb_raw_talloc_partial_read(TALLOC_CTX *mem_ctx,
* valid writeX call.
*/
- if (is_valid_writeX_buffer((uint8_t *)writeX_header)) {
+ if (is_valid_writeX_buffer(smbd_server_conn,
+ (uint8_t *)writeX_header)) {
/*
* If the data offset is beyond what
* we've read, drain the extra bytes.