diff options
| author | Chao Yu <chao@kernel.org> | 2016-04-27 22:22:20 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:33:22 +0200 |
| commit | 115339449de63959e998b272ed82c1343ca19a98 (patch) | |
| tree | 2965b5b5b55c7cd7612d785cbbecdc510d5560e0 /include/linux/unaligned | |
| parent | f31f1cc4a7c216f738b66a16dba771e9f4276ddb (diff) | |
f2fs: be aware of invalid filename length
The filename length in dirent of may become zero-sized after random junk
data injection, once encounter such dirent, find_target_dentry or
f2fs_add_inline_entries will run into an infinite loop. So let f2fs being
aware of that to avoid deadloop.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/unaligned')
0 files changed, 0 insertions, 0 deletions
