]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Try to fix reported qlog issues
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 20 Mar 2025 16:14:51 +0000 (17:14 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 24 Mar 2025 19:20:14 +0000 (20:20 +0100)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27089)

ssl/quic/qlog_event_helpers.c

index 190b6968fc001fa269730dfa378dc3ac62c871eb..148cf2f57b583540a4da050e4a60eda90446a7de 100644 (file)
@@ -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