summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-09-09 09:58:22 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-09-15 22:28:51 +0900
commitf4fafaf02174c32bce2f9bb4196fadf13f1fd96e (patch)
tree830a824bf8e3c26a7d11a9e84fd4290fccc0b0de /tools/perf/scripts/python
parentd7fd1f98607f2cd358e583f9548bdf0173090a86 (diff)
downloadlinux-next-f4fafaf02174c32bce2f9bb4196fadf13f1fd96e.tar.gz
linux-next-f4fafaf02174c32bce2f9bb4196fadf13f1fd96e.zip
ksmbd: fix partial normalized name responses
Windows may request FILE_NORMALIZED_NAME_INFORMATION with an output buffer that only fits the fixed portion of the variable-length response. Treat the fixed portion as FILE_NORMALIZED_NAME_INFORMATION_SIZE so ksmbd returns STATUS_BUFFER_OVERFLOW instead of STATUS_INFO_LENGTH_MISMATCH. This avoids rejecting valid partial normalized-name responses. Fixes: 6b8b79226bc3 ("ksmbd: fix partial file information responses") Reported-by: Mobin Aydinfar <mobin@mobintestserver.ir> Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions