commit | 7745e3c67b80865bd0bc0812fda9f6292c8dc2fb | [log] [tgz] |
---|---|---|
author | Sheng Yong <shengyong1@huawei.com> | Mon Jan 07 15:02:34 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 21 11:01:48 2020 +0200 |
tree | 25906ca3fb7e61dd80a581c41769b92b017176ea | |
parent | f46a09b74aa359fc45e84e594d937891f1ba76da [diff] |
f2fs: check if file namelen exceeds max value [ Upstream commit 720db068634c91553a8e1d9a0fcd8c7050e06d2b ] Dentry bitmap is not enough to detect incorrect dentries. So this patch also checks the namelen value of a dentry. Signed-off-by: Gong Chen <gongchen4@huawei.com> Signed-off-by: Sheng Yong <shengyong1@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>