summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2013-10-14 07:44:19 +0200
committerSteve French <smfrench@gmail.com>2013-10-28 15:21:36 +0100
commit7ff8d45c9dccf0744404d6fe44468ede7c1b9533 (patch)
treef5bbb545bd34b79d0cafa6a6680415e94c240c88 /fs/cifs/smb2proto.h
parentLinux 3.12-rc7 (diff)
downloadlinux-7ff8d45c9dccf0744404d6fe44468ede7c1b9533.tar.xz
linux-7ff8d45c9dccf0744404d6fe44468ede7c1b9533.zip
Fix corrupt SMB2 ioctl requests
We were off by one calculating the length of ioctls in some cases because the protocol specification for SMB2 ioctl includes a mininum one byte payload but not all SMB2 ioctl requests actually have a data buffer to send. We were also not zeroing out the return buffer (in case of error this is helpful). Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
0 files changed, 0 insertions, 0 deletions