Hello,
I'm getting a crash when trying to parse the following pass. This is a pass from AirCorsica:
M1TESTTEST/TESTTES EZPNSNK MRSAJAXK 9807 063Y003A0001 32C>2180 B 01464060360010E 0
I replaced the user name with same character length, everything else is left untouched.
Here is the associated stacktrace:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x180bb54e4)
frame #0: 0x0000000180bb54e4 Foundation`Foundation.Data._Representation.subscript.getter : (Swift.Range<Swift.Int>) -> Foundation.Data + 784
frame #1: 0x0000000180bb8aa0 Foundation`Data.subdata(in:) + 136
frame #2: 0x000000011140f8a8 BoardingPassKit`BoardingPassDecoder.readdata(length=1) at BoardingPassDecoder.swift:299:28
frame #3: 0x000000011140e66c BoardingPassKit`BoardingPassDecoder.conditional(length=1) at BoardingPassDecoder.swift:268:34
frame #4: 0x0000000111412bfc BoardingPassKit`BoardingPassDecoder.repeatedConditional() at BoardingPassDecoder.swift:489:49
frame #5: 0x000000011140a48c BoardingPassKit`BoardingPassDecoder.breakdown() at BoardingPassDecoder.swift:109:39
Hello,
I'm getting a crash when trying to parse the following pass. This is a pass from AirCorsica:
I replaced the user name with same character length, everything else is left untouched.
Here is the associated stacktrace: