diff options
author | Jeff Layton | 2014-02-23 01:35:38 +0100 |
---|---|---|
committer | Steve French | 2014-02-28 21:01:14 +0100 |
commit | dca1c8d17a2feae056f9e334ea75a462ae4cb52a (patch) | |
tree | e385849f0ad8c95af05d23b7a84dd5ca0bdad32b /tools | |
parent | cifs: sanity check length of data to send before sending (diff) | |
download | kernel-qcow2-linux-dca1c8d17a2feae056f9e334ea75a462ae4cb52a.tar.gz kernel-qcow2-linux-dca1c8d17a2feae056f9e334ea75a462ae4cb52a.tar.xz kernel-qcow2-linux-dca1c8d17a2feae056f9e334ea75a462ae4cb52a.zip |
cifs: mask off top byte in get_rfc1002_length()
The rfc1002 length actually includes a type byte, which we aren't
masking off. In most cases, it's not a problem since the
RFC1002_SESSION_MESSAGE type is 0, but when doing a RFC1002 session
establishment, the type is non-zero and that throws off the returned
length.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Tested-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions