Empty if Statement at packet-ncp2222.inc:7478 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
nds_defrag (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ncp2222.inc)![]() | ||||||
![]() | ||||||
7468 | nds_frag = tvb_get_letohl(frag_tvb, 12); | |||||
7469 | for (i=0; i<100; i++) | |||||
7470 | { | |||||
7471 | if (frags[i].nds_frag == nds_frag) | |||||
7472 | { | |||||
7473 | break; | |||||
7474 | } | |||||
7475 | } | |||||
7476 | if (i > 99) | |||||
7477 | return; | |||||
7478 | if (frags[i].nds_frag == 0xffffffff)
| |||||
7479 | { | |||||
7480 | /* Error can't find fragment */ | |||||
7481 | /*DISSECTOR_ASSERT(0);*/ | |||||
7482 | } | |||||
7483 | frag_count = i; | |||||
7484 | /* Remember this fragment information so we can dissect. | |||||
7485 | * Only do this on the first dissection. After the first | |||||
7486 | * dissection we will just read the memory values. | |||||
7487 | */ | |||||
7488 | request_value->nds_end_frag = pinfo->fd->num; | |||||
![]() |