Fix infinite loop in ndpi_workflow_process_packet

This commit is contained in:
Philippe Antoine
2020-01-31 15:26:34 +01:00
parent 579dd7dff9
commit b97360d931
+2 -1
View File
@@ -1603,7 +1603,8 @@ ether_type_check:
if(iph->protocol == IPPROTO_IPV6) {
ip_offset += ip_len;
goto iph_check;
if (ip_len > 0)
goto iph_check;
}
if((frag_off & 0x1FFF) != 0) {