diff options
author | Namjae Jeon <[email protected]> | 2022-06-19 22:37:17 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2022-06-23 23:30:46 -0500 |
commit | b5e5f9dfc915ff05b41dff56181e1dae101712bd (patch) | |
tree | 7a1b19100bd56cf0b2d562747d8ea2f4a290b79d /lib/mpi/mpi-bit.c | |
parent | 18e39fb960e6a908ac5230b57e3d0d6c25232368 (diff) |
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: [email protected]
Reviewed-by: Hyunchul Lee <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions