Skip to content
Commit 7ff8d45c authored by Steve French's avatar Steve French
Browse files

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: default avatarSteve French <smfrench@gmail.com>
parent 959f5854
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment