mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Fix checking the FS access control content owner info size
This commit is contained in:
parent
266ece82f2
commit
19dc9ebe9f
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ public class AccessControl
|
||||||
accessControlData.Slice(data.ContentOwnerInfoOffset + sizeof(int), infoCount * sizeof(ulong)));
|
accessControlData.Slice(data.ContentOwnerInfoOffset + sizeof(int), infoCount * sizeof(ulong)));
|
||||||
|
|
||||||
// Verify the size in the header matches the actual size of the info
|
// Verify the size in the header matches the actual size of the info
|
||||||
Abort.DoAbortUnless(data.ContentOwnerInfoSize == infoCount * sizeof(long));
|
Abort.DoAbortUnless(data.ContentOwnerInfoSize == sizeof(int) + infoCount * sizeof(long));
|
||||||
|
|
||||||
foreach (ulong id in ids)
|
foreach (ulong id in ids)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue