From 9f85a036e331d2837db604fc505062f7790a8b2b Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Thu, 20 Mar 2025 17:14:51 +0100 Subject: [PATCH] Try to fix reported qlog issues Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27089) --- ssl/quic/qlog_event_helpers.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ssl/quic/qlog_event_helpers.c b/ssl/quic/qlog_event_helpers.c index 190b6968fc0..148cf2f57b5 100644 --- a/ssl/quic/qlog_event_helpers.c +++ b/ssl/quic/qlog_event_helpers.c @@ -213,8 +213,10 @@ static int log_frame_actual(QLOG *qlog_instance, PACKET *pkt, size_t i; PACKET orig_pkt = *pkt; - if (!ossl_quic_wire_peek_frame_header(pkt, &frame_type, NULL)) + if (!ossl_quic_wire_peek_frame_header(pkt, &frame_type, NULL)) { + *need_skip = SIZE_MAX; return 0; + } /* * If something goes wrong decoding a frame we cannot log it as that frame -- 2.47.2