QUIC: fix a memory access error

Found while fuzzing
This commit is contained in:
Nardi Ivan
2023-06-08 17:07:25 +02:00
committed by Ivan Nardi
parent fd4cb10190
commit 3e640a13a4
+3
View File
@@ -1660,6 +1660,9 @@ static int ndpi_search_quic_extra(struct ndpi_detection_module_struct *ndpi_stru
NDPI_LOG_DBG(ndpi_struct, "search QUIC extra func\n");
if(packet->payload_packet_len == 0)
return 1;
if (is_ch_reassembler_pending(flow)) {
ndpi_search_quic(ndpi_struct, flow);
if(is_ch_reassembler_pending(flow))