Empty if Statement at packet-ieee80211.c:7487 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dissect_ieee80211_common (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ieee80211.c)![]() | ||||||
![]() | ||||||
7477 | memcmp(dst, pinfo->dl_dst.data, 6) == 0) | |||||
7478 | encap_type = ENCAP_ETHERNET; | |||||
7479 | else if (octet1 == 0xff && octet2 == 0xff) | |||||
7480 | encap_type = ENCAP_IPX; | |||||
7481 | else if (octet1 == 0x00 && octet2 == 0x00) { | |||||
7482 | proto_tree_add_text(tree, next_tvb, 0, 2, "Mysterious OLPC stuff"); | |||||
7483 | next_tvb = tvb_new_subset (next_tvb, 2, -1, -1); | |||||
7484 | } | |||||
7485 | } | |||||
7486 | } | |||||
7487 | CATCH2(BoundsError, ReportedBoundsError) {
| |||||
7488 | ; /* do nothing */ | |||||
7489 | ||||||
7490 | } | |||||
7491 | ENDTRY; | |||||
7492 | ||||||
7493 | switch (encap_type) { | |||||
7494 | ||||||
7495 | case ENCAP_802_2: | |||||
7496 | call_dissector(llc_handle, next_tvb, pinfo, tree); | |||||
7497 | break; | |||||
![]() |