QUIC: fix a memory access error
Found while fuzzing
This commit is contained in:
@@ -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");
|
NDPI_LOG_DBG(ndpi_struct, "search QUIC extra func\n");
|
||||||
|
|
||||||
|
if(packet->payload_packet_len == 0)
|
||||||
|
return 1;
|
||||||
|
|
||||||
if (is_ch_reassembler_pending(flow)) {
|
if (is_ch_reassembler_pending(flow)) {
|
||||||
ndpi_search_quic(ndpi_struct, flow);
|
ndpi_search_quic(ndpi_struct, flow);
|
||||||
if(is_ch_reassembler_pending(flow))
|
if(is_ch_reassembler_pending(flow))
|
||||||
|
|||||||
Reference in New Issue
Block a user