• Steve French's avatar
    Fix corrupt SMB2 ioctl requests · 7ff8d45c
    Steve French authored
    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>
    7ff8d45c
smb2pdu.c 65 KB