mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 12:00:22 +09:00
fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"
[ Upstream commit d155617006ebc172a80d3eb013c4b867f9a8ada4 ] Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3532bceaed
commit
56dacb722b
@@ -517,7 +517,7 @@ struct ATTR_LIST_ENTRY {
|
||||
__le64 vcn; // 0x08: Starting VCN of this attribute.
|
||||
struct MFT_REF ref; // 0x10: MFT record number with attribute.
|
||||
__le16 id; // 0x18: struct ATTRIB ID.
|
||||
__le16 name[3]; // 0x1A: Just to align. To get real name can use bNameOffset.
|
||||
__le16 name[]; // 0x1A: Just to align. To get real name can use name_off.
|
||||
|
||||
}; // sizeof(0x20)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user