Namjae Jeon b5e5f9dfc9 ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATA
FileOffset should not be greater than BeyondFinalZero in FSCTL_ZERO_DATA.
And don't call ksmbd_vfs_zero_data() if length is zero.

Cc: stable@vger.kernel.org
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-06-23 23:30:46 -05:00
..
2022-02-04 00:12:22 -06:00
2021-11-11 19:22:58 -06:00
2022-05-21 15:01:43 -05:00
2022-04-14 20:56:13 -05:00
2021-07-02 16:27:10 +09:00
2022-04-14 20:56:13 -05:00
2022-04-14 20:56:13 -05:00
2021-12-03 18:58:11 +01:00