Handle long entitlements section in NPTicket 2.1 tickets

This commit is contained in:
Zaprit 2025-04-16 22:29:05 +01:00
commit 208224a762

View file

@ -29,6 +29,9 @@ public class TicketParser21 : ITicketParser
this.reader.ReadTicketUInt32(); // status this.reader.ReadTicketUInt32(); // status
SectionHeader entitlementsSection = this.reader.ReadSectionHeader(); // entitlements section
this.reader.SkipBytes(entitlementsSection.Length);
this.reader.ReadTicketEmpty(); // padding this.reader.ReadTicketEmpty(); // padding
this.reader.ReadTicketEmpty(); this.reader.ReadTicketEmpty();