aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_list.zig
diff options
context:
space:
mode:
authormelonedo <44501064+melonedo@users.noreply.github.com>2024-01-15 22:31:15 +0800
committerAndrew Kelley <andrew@ziglang.org>2024-01-16 14:58:56 -0800
commit9b0da5ccef50bf5018142dd38deaeaf91fa16429 (patch)
tree804974a6283f6742af0d1caa4110e830188b563f /lib/std/array_list.zig
parentc4a1b54ebefb77122d2055b09bc0bf01bbc1d8b6 (diff)
downloadzig-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