[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b7ae1cf8-2809-f618-5340-fb8def9a8be0@huawei.com>
Date: Sat, 9 Jul 2022 11:14:36 +0800
From: "chenxiaosong (A)" <chenxiaosong2@...wei.com>
To: Hawkins Jiawei <yin31149@...il.com>
CC: <akpm@...ux-foundation.org>, <anton@...era.com>,
<linux-kernel@...r.kernel.org>,
<linux-ntfs-dev@...ts.sourceforge.net>,
<liuyongqiang13@...wei.com>, <yi.zhang@...wei.com>,
<zhangxiaoxu5@...wei.com>, <18801353760@....com>,
<skhan@...uxfoundation.org>, <paskripkin@...il.com>,
<linux-kernel-mentees@...ts.linuxfoundation.org>
Subject: Re: [PATCH v2] ntfs: fix use-after-free in ntfs_ucsncmp()
在 2022/7/9 8:54, Hawkins Jiawei 写道:> In my opinion, name_length field
just means the number of characters,
> yet each character is a ntfschar type. So name should be
> name_length * sizeof(ntfschar) bytes. The example is at
> https://elixir.bootlin.com/linux/v5.19-rc5/source/fs/ntfs/attrib.c#L1667
Yes, thank you for your reply, I will send v3 patch.
Powered by blists - more mailing lists