ksmbd: validate command request size
In commit 2b9b8f3b ("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: stable@vger.kernel.org Fixes: 2b9b8f3b ("ksmbd: validate command payload size") Acked-by:Namjae Jeon <linkinjeon@kernel.org> Signed-off-by:
Long Li <leo.lilong@huawei.com> Signed-off-by:
Steve French <stfrench@microsoft.com>
Showing
Please register or sign in to comment