]> git.ipfire.org Git - thirdparty/openssl.git/commit
txp_generate_stream_frames(): Set stream id in header early enough
authorTomas Mraz <tomas@openssl.org>
Mon, 11 Nov 2024 13:33:57 +0000 (14:33 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 12 Nov 2024 15:57:39 +0000 (16:57 +0100)
commitfd3a7e9d8fa4485d0d68a7c1a75d6f378c0cb86d
treeda19e55a48a6a0fb0adb417f7435c1c31ef6bdb0
parent18a490c903c75701dd20f4effbbebe9b4e0cf925
txp_generate_stream_frames(): Set stream id in header early enough

Otherwise we will calculate an incorrect header
size for higher stream ids and won't fit the
frame into the packet.

Fixes #25417

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25928)

(cherry picked from commit ba6f115ccfbb63fbeb2bc8df3c07918a7a59a186)
ssl/quic/quic_txp.c