commit | 7ff8d45c9dccf0744404d6fe44468ede7c1b9533 | [log] [tgz] |
---|---|---|
author | Steve French <smfrench@gmail.com> | Mon Oct 14 00:44:19 2013 -0500 |
committer | Steve French <smfrench@gmail.com> | Mon Oct 28 09:21:36 2013 -0500 |
tree | f5bbb545bd34b79d0cafa6a6680415e94c240c88 | |
parent | 959f58544b7f20c92d5eb43d1232c96c15c01bfb [diff] |
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>