]> git.ipfire.org Git - thirdparty/openssl.git/commit
Orphan packets from qrx
authorNeil Horman <nhorman@openssl.org>
Fri, 7 Mar 2025 21:35:47 +0000 (16:35 -0500)
committerAlexandr Nedvedicky <sashan@openssl.org>
Sun, 9 Mar 2025 17:44:53 +0000 (18:44 +0100)
commit9a308a89a4f43ccfdcd9923e8951081a404b5fdc
treeec61f56acadf0255dd2491219b4835f84f6bbfd1
parent0cfbeba8ed5fea4e5a85e03c5ce33fe3e6cb07ab
Orphan packets from qrx

It may occur that the qrx we allocate in port_default_packet handler to
do AEAD validation isn't the one the channel ultimately uses (like if we
turn off address validation).  In that event, we need to ensure that
anything we have on that qrx isn't returned to its free list to avoid
early freeing when we free the qrx at the end of
port_default_packet_handler, while those frames are still pending on the
channel qrx

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27004)
include/internal/quic_record_rx.h
ssl/quic/quic_record_rx.c