git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3c6c71
)
the offset is 16 bits in SMB2 fileinfo
author
Andrew Tridgell
<tridge@samba.org>
Thu, 25 Sep 2008 00:32:47 +0000
(17:32 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 25 Sep 2008 01:10:23 +0000
(18:10 -0700)
source4/smb_server/smb2/fileinfo.c
patch
|
blob
|
history
diff --git
a/source4/smb_server/smb2/fileinfo.c
b/source4/smb_server/smb2/fileinfo.c
index 6c4b8f33d5b839ce604880fcc69b9199104136c7..82b006c4a1bd0f1a88523a431f5ebfc039fad8e0 100644
(file)
--- 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_s32o
32
_blob(&req->in, info, req->in.body+0x04, &info->in.blob));
+ SMB2SRV_CHECK(smb2_pull_s32o
16
_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);