From: "chenxiaosong (A)" <chenxiaosong2@huawei.com>
To: Hawkins Jiawei <yin31149@gmail.com>
Cc: <akpm@linux-foundation.org>, <anton@tuxera.com>,
<linux-kernel@vger.kernel.org>,
<linux-ntfs-dev@lists.sourceforge.net>,
<liuyongqiang13@huawei.com>, <yi.zhang@huawei.com>,
<zhangxiaoxu5@huawei.com>, <18801353760@163.com>,
<skhan@linuxfoundation.org>, <paskripkin@gmail.com>,
<linux-kernel-mentees@lists.linuxfoundation.org>
Subject: Re: [PATCH v2] ntfs: fix use-after-free in ntfs_ucsncmp()
Date: Sat, 9 Jul 2022 11:14:36 +0800 [thread overview]
Message-ID: <b7ae1cf8-2809-f618-5340-fb8def9a8be0@huawei.com> (raw)
In-Reply-To: <20220709005450.2220-1-yin31149@gmail.com>
在 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.
prev parent reply other threads:[~2022-07-09 3:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-07 10:53 ChenXiaoSong
2022-07-09 0:54 ` Hawkins Jiawei
2022-07-09 3:14 ` chenxiaosong (A) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b7ae1cf8-2809-f618-5340-fb8def9a8be0@huawei.com \
--to=chenxiaosong2@huawei.com \
--cc=18801353760@163.com \
--cc=akpm@linux-foundation.org \
--cc=anton@tuxera.com \
--cc=linux-kernel-mentees@lists.linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-ntfs-dev@lists.sourceforge.net \
--cc=liuyongqiang13@huawei.com \
--cc=paskripkin@gmail.com \
--cc=skhan@linuxfoundation.org \
--cc=yi.zhang@huawei.com \
--cc=yin31149@gmail.com \
--cc=zhangxiaoxu5@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®