diff options
| author | melonedo <44501064+melonedo@users.noreply.github.com> | 2024-01-15 22:31:15 +0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-01-16 14:58:56 -0800 |
| commit | 9b0da5ccef50bf5018142dd38deaeaf91fa16429 (patch) | |
| tree | 804974a6283f6742af0d1caa4110e830188b563f /lib/std/array_list.zig | |
| parent | c4a1b54ebefb77122d2055b09bc0bf01bbc1d8b6 (diff) | |
| download | zig-9b0da5ccef50bf5018142dd38deaeaf91fa16429.tar.gz zig-9b0da5ccef50bf5018142dd38deaeaf91fa16429.zip | |
Fix TLS record overflow by limiting inner record length to 2^14
Per last paragraph of RFC 8446, Section 5.2, the length of the inner content of an encrypted record must not exceed 2^14 + 1, while that of the whole encrypted record must not exceed 2^14 + 256.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions
