diff options
| author | Randall Huang <[email protected]> | 2019-10-18 14:56:22 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2019-10-22 10:32:42 -0700 |
| commit | 688078e7f36c293dae25b338ddc9e0a2790f6e06 (patch) | |
| tree | bfdb73e559a913582cbd3eb33656710c403645cf /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | 9f701f6c772b15461843b92f9b41a0705e190a86 (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 <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions