lkml.org 
[lkml]   [2022]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] ntfs: fix use-after-free in ntfs_ucsncmp()
From
在 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.

\
 
 \ /
  Last update: 2022-07-09 05:15    [W:0.347 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site