diff options
author | Steve French <smfrench@gmail.com> | 2018-04-08 16:14:31 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2018-04-12 16:52:38 -0500 |
commit | 136ff1b4b65edf09b6b7173ba94ad53347d3aa83 (patch) | |
tree | a3637b5dc7de1c91869b111f10eed9736f8a7d96 /lib/lz4 | |
parent | f2f176b418da96ae030c2f312c0ddb0e7b6ead21 (diff) |
SMB3: Fix length checking of SMB3.11 negotiate request
The length checking for SMB3.11 negotiate request includes
"negotiate contexts" which caused a buffer validation problem
and a confusing warning message on SMB3.11 mount e.g.:
SMB2 server sent bad RFC1001 len 236 not 170
Fix the length checking for SMB3.11 negotiate to account for
the new negotiate context so that we don't log a warning on
SMB3.11 mount by default but do log warnings if lengths returned
by the server are incorrect.
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'lib/lz4')
0 files changed, 0 insertions, 0 deletions