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
+1
View File
@@ -1603,6 +1603,7 @@ ether_type_check:
if(iph->protocol == IPPROTO_IPV6) { if(iph->protocol == IPPROTO_IPV6) {
ip_offset += ip_len; ip_offset += ip_len;
if (ip_len > 0)
goto iph_check; goto iph_check;
} }