summaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorDenis Arefev <arefev@swemel.ru>2025-04-09 12:04:49 +0300
committerSteve French <stfrench@microsoft.com>2025-04-15 06:21:26 +0300
commita93ff742820f75bf8bb3fcf21d9f25ca6eb3d4c6 (patch)
treefecb7dbd539421909c9faeb1979e868a278f508e /scripts/clang-tools/gen_compile_commands.py
parentb37f2f332b40ad1c27f18682a495850f2f04db0a (diff)
downloadlinux-a93ff742820f75bf8bb3fcf21d9f25ca6eb3d4c6.tar.xz
ksmbd: Prevent integer overflow in calculation of deadtime
The user can set any value for 'deadtime'. This affects the arithmetic expression 'req->deadtime * SMB_ECHO_INTERVAL', which is subject to overflow. The added check makes the server behavior more predictable. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers") Cc: stable@vger.kernel.org Signed-off-by: Denis Arefev <arefev@swemel.ru> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions