diff options
author | 2019-10-18 14:56:22 +0800 | |
---|---|---|
committer | 2019-10-22 10:32:42 -0700 | |
commit | 688078e7f36c293dae25b338ddc9e0a2790f6e06 (patch) | |
tree | bfdb73e559a913582cbd3eb33656710c403645cf /drivers/usb/cdns3/cdns3-imx.c | |
parent | f2fs: check total_segments from devices in raw_super (diff) | |
download | wireguard-linux-688078e7f36c293dae25b338ddc9e0a2790f6e06.tar.xz wireguard-linux-688078e7f36c293dae25b338ddc9e0a2790f6e06.zip |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions