diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-04-14 11:31:17 +0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-04-14 11:31:17 +0200 |
commit | 275f32ae2df333c089343dd20fc4efee1bed2b7b (patch) | |
tree | b5e3423e779263bd4fb498965d30ddeaad910d1d /source4/ntvfs | |
parent | 6abdaefb0f726d1b45b7eb698a88bfe8e354743a (diff) | |
download | samba-275f32ae2df333c089343dd20fc4efee1bed2b7b.tar.gz samba-275f32ae2df333c089343dd20fc4efee1bed2b7b.tar.bz2 samba-275f32ae2df333c089343dd20fc4efee1bed2b7b.zip |
fill in unknown fields in SMB2 READ call
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/ntvfs_generic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntvfs/ntvfs_generic.c b/source4/ntvfs/ntvfs_generic.c index e1a86c07c0..fee3269eaf 100644 --- a/source4/ntvfs/ntvfs_generic.c +++ b/source4/ntvfs/ntvfs_generic.c @@ -1214,7 +1214,8 @@ static NTSTATUS ntvfs_map_read_finish(struct ntvfs_module_context *ntvfs, break; case RAW_READ_SMB2: rd->smb2.out.data.length= rd2->generic.out.nread; - rd->smb2.out.unknown1 = 0; + rd->smb2.out.remaining = 0; + rd->smb2.out.reserved = 0; break; default: return NT_STATUS_INVALID_LEVEL; |