Text   |  XML   |  ReML   |   Visible Warnings:

Empty if Statement  at packet-ieee80211.c:7256

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

dissect_ieee80211_common

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ieee80211.c)expand/collapse
Show more  
 7246        if (tree) {
 7247          /* Davide Schiera (2006-11-21): added WEP or WPA separation      */
 7248          if (algorithm==PROTECTION_ALG_WEP) {
 7249            if (can_decrypt)
 7250              proto_tree_add_uint_format (wep_tree, hf_wep_icv, tvb,
 7251                  hdr_len + ivlen + len, 4,
 7252                  tvb_get_ntohl(tvb, hdr_len + ivlen + len),
 7253                  "WEP ICV: 0x%08x (not verified)",
 7254                  tvb_get_ntohl(tvb, hdr_len + ivlen + len));
 7255          } else if (algorithm==PROTECTION_ALG_CCMP) {
 7256          } else if (algorithm==PROTECTION_ALG_TKIP) {
 7257          }
 7258        }
 7259        /* Davide Schiera (2006-11-21) ----------------------------------  */
 7260   
 7261        if (pinfo->ethertype != ETHERTYPE_CENTRINO_PROMISC && wlan_ignore_wep == WLAN_IGNORE_WEP_NO) {
 7262          /* Some wireless drivers (such as Centrino) WEP payload already decrypted */
 7263          call_dissector(data_handle, next_tvb, pinfo, tree);
 7264          goto end_of_wlan;
 7265        }
 7266      } else {
Show more  




Change Warning 51.27293 : Empty if Statement

Priority:
State:
Finding:
Owner:
Note: