mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2025-02-09 13:14:46 +01:00
Fix checking the FS access control content owner info size
This commit is contained in:
parent
266ece82f2
commit
19dc9ebe9f
@ -98,7 +98,7 @@ public class AccessControl
|
||||
accessControlData.Slice(data.ContentOwnerInfoOffset + sizeof(int), infoCount * sizeof(ulong)));
|
||||
|
||||
// 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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user