diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-09-24 17:32:47 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-09-24 18:10:23 -0700 |
commit | 7e57626d1d5a4497ecf5b4c741b8486e7ab97733 (patch) | |
tree | 8bb6c46ea3158a2248b14718324422372b11ac3f /source4/smb_server | |
parent | d3c6c71ff2d5499be152785a49ad128641330b40 (diff) | |
download | samba-7e57626d1d5a4497ecf5b4c741b8486e7ab97733.tar.gz samba-7e57626d1d5a4497ecf5b4c741b8486e7ab97733.tar.bz2 samba-7e57626d1d5a4497ecf5b4c741b8486e7ab97733.zip |
the offset is 16 bits in SMB2 fileinfo
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb2/fileinfo.c | 2 |
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); |