Skip to content
Commit aad1383c authored by Dan Robertson's avatar Dan Robertson Committed by Jaegeuk Kim
Browse files

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: default avatarDan Robertson <dan@dlrobertson.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 335cac8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment