mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-04-30 10:47:48 +02:00
ACL: Bugfix: Use AceSize when parsing ACL
This commit is contained in:
parent
3f054348d8
commit
a64dc6c88b
1 changed files with 2 additions and 3 deletions
|
@ -1,10 +1,9 @@
|
|||
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
/* Copyright (C) 2014-2024 Tal Aloni <tal.aloni.il@gmail.com>. 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue