Unpacking arrays with count 2^15 crashes
martinc opened this issue · comments
Martin Ceperley commented
Crash at line 297 of MessagePack:
let truncated = UInt16(bitPattern: Int16(count))
Swift won't cast to Int16 when count value is >= 32768
Alex Akers commented