mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
ac7e895df0
After decryption, TLS 1.3 plaintext is trimmed of zero padding, then the last byte is read as the content type. But when the plaintext was entirely zero padding, we got a "thread panic: integer overflow at msg.len - 1" error. That could be triggered by any server to crash the client.