diff options
author | Namjae Jeon | 2021-10-08 07:31:03 +0900 |
---|---|---|
committer | Steve French | 2021-10-13 23:37:18 -0500 |
commit | f7db8fd03a4bc5baf70ccf8978fe17cb54368b97 (patch) | |
tree | 1805a1880f934285f216d2b58fe7135dba51574c /fs/userfaultfd.c | |
parent | 64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff) |
ksmbd: add validation in smb2_ioctl
Add validation for request/response buffer size check in smb2_ioctl and
fsctl_copychunk() take copychunk_ioctl_req pointer and the other arguments
instead of smb2_ioctl_req structure and remove an unused smb2_ioctl_req
argument of fsctl_validate_negotiate_info.
Cc: Tom Talpey <tom@talpey.com>
Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: Ralph Böhme <slow@samba.org>
Cc: Steve French <smfrench@gmail.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Acked-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions