summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>2022-09-26 06:36:29 +0300
committerSteve French <stfrench@microsoft.com>2022-10-05 09:28:55 +0300
commite98ecc6e94f4e6d21c06660b0f336df02836694f (patch)
tree9d3bb58c7b99ed4a6c0b9eacc26efbcc9f362071 /tools/perf/scripts/python/task-analyzer.py
parentbb44c31cdcac107344dd2fcc3bd0504a53575c51 (diff)
downloadlinux-e98ecc6e94f4e6d21c06660b0f336df02836694f.tar.xz
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
Commit d5c7076b772a ("smb3: add smb3.1.1 to default dialect list") extend the dialects from 3 to 4, but forget to decrease the extended length when specific the dialect, then the message length is larger than expected. This maybe leak some info through network because not initialize the message body. After apply this patch, the VALIDATE_NEGOTIATE_INFO message length is reduced from 28 bytes to 26 bytes. Fixes: d5c7076b772a ("smb3: add smb3.1.1 to default dialect list") Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com> Cc: <stable@vger.kernel.org> Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Reviewed-by: Tom Talpey <tom@talpey.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions