diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2022-06-19 16:37:17 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-06-24 07:30:46 +0300 |
commit | b5e5f9dfc915ff05b41dff56181e1dae101712bd (patch) | |
tree | 7a1b19100bd56cf0b2d562747d8ea2f4a290b79d /tools/perf/scripts/python/task-analyzer.py | |
parent | 18e39fb960e6a908ac5230b57e3d0d6c25232368 (diff) | |
download | linux-b5e5f9dfc915ff05b41dff56181e1dae101712bd.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions