summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-09-24 17:32:47 -0700
committerAndrew Tridgell <tridge@samba.org>2008-09-24 18:10:23 -0700
commit7e57626d1d5a4497ecf5b4c741b8486e7ab97733 (patch)
tree8bb6c46ea3158a2248b14718324422372b11ac3f /source4
parentd3c6c71ff2d5499be152785a49ad128641330b40 (diff)
downloadsamba-7e57626d1d5a4497ecf5b4c741b8486e7ab97733.tar.gz
samba-7e57626d1d5a4497ecf5b4c741b8486e7ab97733.tar.bz2
samba-7e57626d1d5a4497ecf5b4c741b8486e7ab97733.zip
the offset is 16 bits in SMB2 fileinfo
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb2/fileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/fileinfo.c b/source4/smb_server/smb2/fileinfo.c
index 6c4b8f33d5..82b006c4a1 100644
--- a/source4/smb_server/smb2/fileinfo.c
+++ b/source4/smb_server/smb2/fileinfo.c
@@ -369,7 +369,7 @@ void smb2srv_setinfo_recv(struct smb2srv_request *req)
SMB2SRV_SETUP_NTVFS_REQUEST(smb2srv_setinfo_send, NTVFS_ASYNC_STATE_MAY_ASYNC);
info->in.level = SVAL(req->in.body, 0x02);
- SMB2SRV_CHECK(smb2_pull_s32o32_blob(&req->in, info, req->in.body+0x04, &info->in.blob));
+ SMB2SRV_CHECK(smb2_pull_s32o16_blob(&req->in, info, req->in.body+0x04, &info->in.blob));
info->in.flags = IVAL(req->in.body, 0x0C);
info->in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x10);