From: Bernd Edlinger Date: Thu, 20 Mar 2025 16:14:51 +0000 (+0100) Subject: Try to fix reported qlog issues X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f85a036e331d2837db604fc505062f7790a8b2b;p=thirdparty%2Fopenssl.git Try to fix reported qlog issues Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27089) --- 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