Fix infinite loop in ndpi_workflow_process_packet
This commit is contained in:
@@ -1603,7 +1603,8 @@ ether_type_check:
|
|||||||
|
|
||||||
if(iph->protocol == IPPROTO_IPV6) {
|
if(iph->protocol == IPPROTO_IPV6) {
|
||||||
ip_offset += ip_len;
|
ip_offset += ip_len;
|
||||||
goto iph_check;
|
if (ip_len > 0)
|
||||||
|
goto iph_check;
|
||||||
}
|
}
|
||||||
|
|
||||||
if((frag_off & 0x1FFF) != 0) {
|
if((frag_off & 0x1FFF) != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user