summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorRandall Huang <huangrandall@google.com>2019-10-18 14:56:22 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-10-22 10:32:42 -0700
commit688078e7f36c293dae25b338ddc9e0a2790f6e06 (patch)
treebfdb73e559a913582cbd3eb33656710c403645cf /fs/f2fs/segment.c
parent9f701f6c772b15461843b92f9b41a0705e190a86 (diff)
f2fs: fix to avoid memory leakage in f2fs_listxattr
In f2fs_listxattr, there is no boundary check before memcpy e_name to buffer. If the e_name_len is corrupted, unexpected memory contents may be returned to the buffer. Signed-off-by: Randall Huang <huangrandall@google.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions