commit | aad1383cbf08c87f29f5dba1622e122717fbc32a | [log] [tgz] |
---|---|---|
author | Dan Robertson <dan@dlrobertson.com> | Sun Aug 30 21:45:23 2020 +0000 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Sep 11 11:11:25 2020 -0700 |
tree | 4301709a2b41087742d804eb86b030520cded895 | |
parent | 335cac8b25fd4601160080d2c012154c2f3b8676 [diff] |
f2fs: check position in move range ioctl When the move range ioctl is used, check the input and output position and ensure that it is a non-negative value. Without this check f2fs_get_dnode_of_data may hit a memmory bug. Signed-off-by: Dan Robertson <dan@dlrobertson.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>