Unverified Commit d1556170 authored by Konstantin Komarov's avatar Konstantin Komarov
Browse files

fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"

parent a8b0c9fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -523,7 +523,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)