diff --git a/SMBLibrary/NTFileStore/Structures/SecurityInformation/ACL.cs b/SMBLibrary/NTFileStore/Structures/SecurityInformation/ACL.cs index f7b71cb..712f88a 100644 --- a/SMBLibrary/NTFileStore/Structures/SecurityInformation/ACL.cs +++ b/SMBLibrary/NTFileStore/Structures/SecurityInformation/ACL.cs @@ -1,10 +1,9 @@ -/* Copyright (C) 2014-2017 Tal Aloni . All rights reserved. +/* Copyright (C) 2014-2024 Tal Aloni . All rights reserved. * * You can redistribute this program and/or modify it under the terms of * the GNU Lesser Public License as published by the Free Software Foundation, * either version 3 of the License, or (at your option) any later version. */ -using System; using System.Collections.Generic; using Utilities; @@ -41,7 +40,7 @@ namespace SMBLibrary { ACE ace = ACE.GetAce(buffer, offset); this.Add(ace); - offset += ace.Length; + offset += ace.Header.AceSize; } }