[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5b27d560-8699-97af-844d-72de8a7a754c@huawei.com>
Date: Tue, 22 Oct 2019 16:35:41 +0800
From: Chao Yu <yuchao0@...wei.com>
To: Randall Huang <huangrandall@...gle.com>, <jaegeuk@...nel.org>,
<linux-f2fs-devel@...ts.sourceforge.net>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] f2fs: fix to avoid memory leakage in f2fs_listxattr
On 2019/10/18 14:56, Randall Huang wrote:
> 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@...gle.com>
Reviewed-by: Chao Yu <yuchao0@...wei.com>
Thanks,
Powered by blists - more mailing lists