diff options
author | Long Li <[email protected]> | 2023-07-29 11:36:18 +0800 |
---|---|---|
committer | Steve French <[email protected]> | 2023-08-05 20:56:54 -0500 |
commit | 5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c (patch) | |
tree | ed650d5eedca34957157bb091e06934ae9d7afcf /lib/memory-notifier-error-inject.c | |
parent | 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4 (diff) |
ksmbd: validate command request size
In commit 2b9b8f3b68ed ("ksmbd: validate command payload size"), except
for SMB2_OPLOCK_BREAK_HE command, the request size of other commands
is not checked, it's not expected. Fix it by add check for request
size of other commands.
Cc: [email protected]
Fixes: 2b9b8f3b68ed ("ksmbd: validate command payload size")
Acked-by: Namjae Jeon <[email protected]>
Signed-off-by: Long Li <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions