Skip to content

Commit d155617

Browse files
fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
1 parent a8b0c9f commit d155617

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/ntfs3/ntfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ struct ATTR_LIST_ENTRY {
523523
__le64 vcn; // 0x08: Starting VCN of this attribute.
524524
struct MFT_REF ref; // 0x10: MFT record number with attribute.
525525
__le16 id; // 0x18: struct ATTRIB ID.
526-
__le16 name[3]; // 0x1A: Just to align. To get real name can use bNameOffset.
526+
__le16 name[]; // 0x1A: Just to align. To get real name can use name_off.
527527

528528
}; // sizeof(0x20)
529529

0 commit comments

Comments
 (0)