summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-19 20:11:33 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:14 +0100
commit93651dc245353ceda661b55332f0b163c4a3e8e9 (patch)
treedf0c259f41d723cb8c59550a4d0bc9a9badff1af
parent571aff4bfaf0407cadba2e304b60c0364684cee5 (diff)
downloadopenssl-new-93651dc245353ceda661b55332f0b163c4a3e8e9.tar.gz
QUIC QRX: Fix a list usage bug
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20765)
-rw-r--r--ssl/quic/quic_record_rx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/quic/quic_record_rx.c b/ssl/quic/quic_record_rx.c
index cf9f960c3d..cde8f67d22 100644
--- a/ssl/quic/quic_record_rx.c
+++ b/ssl/quic/quic_record_rx.c
@@ -190,6 +190,7 @@ static void qrx_cleanup_urxl(OSSL_QRX *qrx, QUIC_URXE_LIST *l)
for (e = ossl_list_urxe_head(l); e != NULL; e = enext) {
enext = ossl_list_urxe_next(e);
+ ossl_list_urxe_remove(l, e);
ossl_quic_demux_release_urxe(qrx->demux, e);
}
}