Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] proto_tree_add_item() calls where length doesn't match type

From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Sat, 17 Oct 2020 14:38:42 +0100


On Fri, Oct 16, 2020 at 11:14 PM Guy Harris <gharris@xxxxxxxxx> wrote:
On Oct 16, 2020, at 2:54 PM, Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx> wrote:

> There might be some protocols where there was (say) a 7 byte integer field, so the dissector writer had to round it up to the nearest supported size, but again I didn't see that.

That's because the nearest supported size is FT_{U}INT56, so no rounding up would have been necessary unless there was a time after we introduced FT_{U}INT64 but before we introduced FT_{U}INT{40,48,56}.


Or, like me, you somehow didn't realise every byte length is supported.
 
> Another clue is the amount by which 'offset' might be added to in the very next line (i.e. which size does it match?), but that would be hard to reliably parse.

Sadly, C is far from being a good packet description language.

Yes, the irony was heavy as I watched the stream of the Friday keynote speech at the same time as I tidied up the script and looked into some of the reported issues.

I think it's safe to consider the cases where the call length is longer than the length implied by the item's type, I uploaded https://gitlab.com/wireshark/wireshark/-/merge_requests/615

Here is the current output, which is more manageable (221 reports).  It will still take quite a while to go through these properly, so I would really appreciate it if anyone who sees a protocol they've worked on below could look into the reported issues and either create an MR or let me know whether/what should be changed.

Martin

Examining:
All dissector modules

epan/dissectors/packet-3g-a11.c:1432 proto_tree_add_item called for hf_a11_vse_apptype  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-a21.c:700 proto_tree_add_item called for hf_a21_service_option  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-acdr.c:715 proto_tree_add_item called for hf_acdr_mii_sequence  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-acdr.c:718 proto_tree_add_item called for hf_acdr_mii_packet_size  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-acn.c:6395 proto_tree_add_item called for hf_rdmnet_broker_vector  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-acn.c:6744 proto_tree_add_item called for hf_rdmnet_rpt_vector  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-acn.c:6917 proto_tree_add_item called for hf_rdmnet_ept_vector  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-afp.c:2407 proto_tree_add_item called for hf_afp_file_bitmap  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-afp.c:4767 proto_tree_add_item called for hf_afp_vol_id  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-ansi_637.c:1387 proto_tree_add_item called for hf_ansi_637_tele_cb_num_num_fields07f8  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-ansi_map.c:2578 proto_tree_add_item called for hf_ansi_map_mslocation_lat  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-ansi_map.c:2581 proto_tree_add_item called for hf_ansi_map_mslocation_long  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-bgp.c:8395 proto_tree_add_item called for hf_bgp_update_encaps_tunnel_subtlv_gre_key  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-bgp.c:8440 proto_tree_add_item called for hf_bgp_update_encaps_tunnel_subtlv_lb_block_length  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-bgp.c:9152 proto_tree_add_item called for hf_bgp_route_refresh_orf_entry_sequence  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-bluecom.c:441 proto_tree_add_item called for hf_bcp_hdr_len  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-bssgp.c:655 proto_tree_add_item called for hf_bssgp_bss_area_ind  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-bssgp.c:1468 proto_tree_add_item called for hf_bssgp_unit_val  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-bssgp.c:1469 proto_tree_add_item called for hf_bssgp_gprs_timer  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-bssgp.c:2606 proto_tree_add_item called for hf_bssgp_unit_val  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-bssgp.c:2607 proto_tree_add_item called for hf_bssgp_gprs_timer  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-bssgp.c:2635 proto_tree_add_item called for hf_bssgp_unit_val  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-bssgp.c:2636 proto_tree_add_item called for hf_bssgp_gprs_timer  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-bssgp.c:3276 proto_tree_add_item called for hf_bssgp_cell_acc_mode  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-btamp.c:413 proto_tree_add_item called for hf_btamp_cmd_length  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-btavrcp.c:653 proto_tree_add_item called for hf_btavrcp_setting_value_length  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-btavrcp.c:696 proto_tree_add_item called for hf_btavrcp_player_subtype  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-bthci_cmd.c:4960 proto_tree_add_item called for hf_bthci_cmd_skip  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-bthci_cmd.c:5093 proto_tree_add_item called for hf_bthci_cmd_cte_request_interval  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-bthci_cmd.c:5146 proto_tree_add_item called for hf_bthci_cmd_skip  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-btl2cap.c:2506 proto_tree_add_item called for hf_btl2cap_cmd_length  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-btle.c:1833 proto_tree_add_item called for hf_control_company_id  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-cdp.c:1225 proto_tree_add_item called for hf_cdp_nrgyz_tlvtype  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-cip.c:6230 proto_tree_add_item called for hf_cip_find_next_object_instance_item  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-dis.c:6788 proto_tree_add_item called for hf_dis_entity_dead_reckoning_algorithm  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-dis.c:7226 proto_tree_add_item called for hf_dis_aggregate_formation  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-dns.c:2493 proto_tree_add_item called for hf_dns_px_preference  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-dpnet.c:282 proto_tree_add_item called for hf_dpnet_reply_offset  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-dpnet.c:283 proto_tree_add_item called for hf_dpnet_response_size  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-dpnet.c:284 proto_tree_add_item called for hf_dpnet_desc_size  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-dpnet.c:287 proto_tree_add_item called for hf_dpnet_max_players  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-dpnet.c:288 proto_tree_add_item called for hf_dpnet_current_players  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-dpnet.c:291 proto_tree_add_item called for hf_dpnet_password_offset  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-dpnet.c:292 proto_tree_add_item called for hf_dpnet_password_size  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-dpnet.c:293 proto_tree_add_item called for hf_dpnet_reserved_offset  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-dpnet.c:294 proto_tree_add_item called for hf_dpnet_reserved_size  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-dsr.c:188 proto_tree_add_item called for hf_dsr_length  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-eap.c:1475 proto_tree_add_item called for hf_eap_gpsk_failure_code  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-eap.c:1479 proto_tree_add_item called for hf_eap_gpsk_failure_code  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-ecmp.c:979 proto_tree_add_item called for hf_ecmp_category_id  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-ecmp.c:1262 proto_tree_add_item called for hf_ecmp_buffer_size  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-ecmp.c:1266 proto_tree_add_item called for hf_ecmp_max_response  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-ecmp.c:1270 proto_tree_add_item called for hf_ecmp_max_handle  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-epl.c:3077 proto_tree_add_item called for hf_epl_soa_pre_fst_end  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3080 proto_tree_add_item called for hf_epl_soa_pre_sec_end  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3083 proto_tree_add_item called for hf_epl_soa_mnd_fst_end  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3086 proto_tree_add_item called for hf_epl_soa_mnd_sec_end  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3089 proto_tree_add_item called for hf_epl_soa_pre_tm_end  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3555 proto_tree_add_item called for hf_epl_asnd_syncResponse_latency  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3558 proto_tree_add_item called for hf_epl_asnd_syncResponse_node  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3561 proto_tree_add_item called for hf_epl_asnd_syncResponse_delay  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3564 proto_tree_add_item called for hf_epl_asnd_syncResponse_pre_fst  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3567 proto_tree_add_item called for hf_epl_asnd_syncResponse_pre_sec  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3870 proto_tree_add_item called for hf_epl_asnd_sdo_cmd_segment_size  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-epl.c:3909 proto_tree_add_item called for hf_epl_asnd_sdo_cmd_data_size  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-epl.c:3917 proto_tree_add_item called for hf_epl_asnd_sdo_cmd_data_size  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-ged125.c:1136 proto_tree_add_item called for hf_ged125_TrunkNumber  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-gsm_a_common.c:1178 proto_tree_add_item called for hf_gsm_a_uncertainty_speed  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-gsm_a_common.c:1206 proto_tree_add_item called for hf_gsm_a_h_uncertainty_speed  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-gsm_a_common.c:1216 proto_tree_add_item called for hf_gsm_a_v_uncertainty_speed  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-gsm_a_dtap.c:3711 proto_tree_add_item called for hf_gsm_a_dtap_ue_received_rlc_sdu_counter_value  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-gtp.c:4414 proto_tree_add_item called for hf_gtp_sel_mode  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-gtp.c:6807 proto_tree_add_item called for hf_gtp_rai_rac  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-gtp.c:7600 proto_tree_add_item called for hf_gtp_bssgp_cause  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-gtpv2.c:3607 proto_tree_add_item called for hf_gtpv2_trace_id  -  item type is FT_UINT16 but call has len  3
epan/dissectors/packet-gtpv2.c:5049 proto_tree_add_item called for hf_gtpv2_trace_id  -  item type is FT_UINT16 but call has len  3
epan/dissectors/packet-hdfsdata.c:249 proto_tree_add_item called for hf_hdfsdata_chunksize  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-hdfsdata.c:457 proto_tree_add_item called for hf_hdfsdata_chunksize  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-hiqnet.c:694 proto_tree_add_item called for hf_hiqnet_sourcedev  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-hiqnet.c:700 proto_tree_add_item called for hf_hiqnet_destdev  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-hsrp.c:335 proto_tree_add_item called for hf_hsrp2_md5_flags  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-hsrp.c:432 proto_tree_add_item called for hf_hsrp_adv_activegrp  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-hsrp.c:434 proto_tree_add_item called for hf_hsrp_adv_passivegrp  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-ieee1722.c:1114 proto_tree_add_item called for hf_1722_61883_cip_fdf_no_syt  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-ieee80211.c:14209 proto_tree_add_item called for hf_ieee80211_osen_akm_count  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-ieee80211.c:20025 proto_tree_add_item called for hf_ieee80211_tclas_ether_type  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-infiniband.c:5776 proto_tree_add_item called for hf_infiniband_MultiPathRecord_SL  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-infiniband_sdp.c:158 proto_tree_add_item called for hf_ib_sdp_flags_oobpres  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-infiniband_sdp.c:159 proto_tree_add_item called for hf_ib_sdp_flags_oob_pend  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-infiniband_sdp.c:160 proto_tree_add_item called for hf_ib_sdp_flags_reqpipe  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-isi.c:1002 proto_tree_add_item called for hf_isi_sim_subblock_count  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-isi.c:1006 proto_tree_add_item called for hf_isi_sim_subblock_size  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-isi.c:1009 proto_tree_add_item called for hf_isi_sim_pb_location  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-isi.c:1012 proto_tree_add_item called for hf_isi_sim_subblock_count  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-isis-lsp.c:2429 proto_tree_add_item called for hf_isis_lsp_sl_binding_range  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-ixveriwave.c:1599 proto_tree_add_item called for hf_ixveriwave_vw_l4id  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-llrp.c:1622 proto_tree_add_item called for hf_llrp_gpi_debounce  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-llrp.c:2136 proto_tree_add_item called for hf_llrp_hop_table_id  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-llrp.c:2201 proto_tree_add_item called for hf_llrp_hop_table_id  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-lustre.c:3483 proto_tree_add_item called for hf_lustre_hsm_prog_padding1  -  item type is FT_UINT32 but call has len  8
epan/dissectors/packet-lustre.c:3520 proto_tree_add_item called for hf_lustre_hsm_us_states  -  item type is FT_UINT32 but call has len  8
epan/dissectors/packet-lustre.c:3522 proto_tree_add_item called for hf_lustre_hsm_us_archive_id  -  item type is FT_UINT32 but call has len  8
epan/dissectors/packet-lustre.c:3524 proto_tree_add_item called for hf_lustre_hsm_us_in_prog_state  -  item type is FT_UINT32 but call has len  8
epan/dissectors/packet-lustre.c:3526 proto_tree_add_item called for hf_lustre_hsm_us_in_prog_action  -  item type is FT_UINT32 but call has len  8
epan/dissectors/packet-lustre.c:4099 proto_tree_add_item called for hf_lustre_lu_ladvise_advice  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-mpeg-descriptor.c:2214 proto_tree_add_item called for hf_mpeg_descr_app_sig_ait_ver  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-mpeg-dsmcc.c:1212 proto_tree_add_item called for hf_dsmcc_dii_private_data_length  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-mysql.c:1547 proto_tree_add_item called for hf_mysql_max_packet  -  item type is FT_UINT24 but call has len  4
epan/dissectors/packet-mysql.c:2125 proto_tree_add_item called for hf_mysql_binlog_server_id  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-ncsi.c:247 proto_tree_add_item called for hf_ncsi_aen_lsc_oemstat  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-ncsi.c:250 proto_tree_add_item called for hf_ncsi_aen_lsc_hcstat  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-ndps.c:6873 proto_tree_add_item called for hf_ndps_len  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-ndps.c:7454 proto_tree_add_item called for hf_ndps_len  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-nfapi.c:8179 proto_tree_add_item called for hf_nfapi_error_code  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-nfapi.c:8189 proto_tree_add_item called for hf_nfapi_error_code  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-nfapi.c:8203 proto_tree_add_item called for hf_nfapi_p4_error_code  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-nfapi.c:8213 proto_tree_add_item called for hf_nfapi_p4_error_code  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-nlsp.c:452 proto_tree_add_item called for hf_nlsp_hello_holding_timer  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-oampdu.c:1696 proto_tree_add_item called for hf_dpoe_variable_descriptor  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-oampdu.c:1704 proto_tree_add_item called for hf_dpoe_variable_descriptor  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-oampdu.c:1713 proto_tree_add_item called for hf_dpoe_variable_descriptor  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-ocfs2.c:751 proto_tree_add_item called for hf_dlm_qn_domain  -  item type is FT_UINT8 but call has len  64
epan/dissectors/packet-opa-mad.c:2993 proto_tree_add_item called for hf_opa_Trap_LID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:2999 proto_tree_add_item called for hf_opa_Trap_LID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:3005 proto_tree_add_item called for hf_opa_Trap_LID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:3025 proto_tree_add_item called for hf_opa_Trap_LID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:3029 proto_tree_add_item called for hf_opa_Trap_LID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:3050 proto_tree_add_item called for hf_opa_Trap_LID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:3052 proto_tree_add_item called for hf_opa_Trap_LID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:3080 proto_tree_add_item called for hf_opa_Trap_LID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:3082 proto_tree_add_item called for hf_opa_Trap_LID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:5109 proto_tree_add_item called for hf_opa_MCMemberRecord_MLID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:5566 proto_tree_add_item called for hf_opa_QuarantinedNodeRecord_ExpectedNodeDesc  -  item type is FT_UINT8 but call has len  64
epan/dissectors/packet-opa-mad.c:7122 proto_tree_add_item called for hf_opa_GetGroupInfo_maxInternalMBps  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-opa-mad.c:7124 proto_tree_add_item called for hf_opa_GetGroupInfo_maxExternalMBps  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-opa-mad.c:7591 proto_tree_add_item called for hf_opa_GetImageInfo_lid  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:7608 proto_tree_add_item called for hf_opa_GetImageInfo_lid  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:7866 proto_tree_add_item called for hf_opa_GetVFConfig_Port_NodeLID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:8025 proto_tree_add_item called for hf_opa_GetVFFocusPorts_nodeLID  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-opa-mad.c:8042 proto_tree_add_item called for hf_opa_GetVFFocusPorts_neighborLid  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-openflow_v4.c:4320 proto_tree_add_item called for hf_openflow_v4_metermod_command  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-openflow_v5.c:4063 proto_tree_add_item called for hf_openflow_v5_flow_stats_importance  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-openflow_v5.c:5566 proto_tree_add_item called for hf_openflow_v5_metermod_command  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-openflow_v5.c:5747 proto_tree_add_item called for hf_openflow_v5_bundle_control_type  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-openflow_v6.c:4556 proto_tree_add_item called for hf_openflow_v6_flow_desc_importance  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-openflow_v6.c:6258 proto_tree_add_item called for hf_openflow_v6_metermod_command  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-openflow_v6.c:6456 proto_tree_add_item called for hf_openflow_v6_bundle_control_type  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-opensafety.c:952 proto_tree_add_item called for hf_oss_ssdo_extpar_saddr  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-opensafety.c:958 proto_tree_add_item called for hf_oss_ssdo_extpar_crc  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-opensafety.c:959 proto_tree_add_item called for hf_oss_ssdo_extpar_tstamp  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-pfcp.c:6537 proto_tree_add_item called for hf_pfcp_source_ip_address_mask_prefix_lengt  -  item type is FT_UINT8 but call has len  16
epan/dissectors/packet-pfcp.c:6593 proto_tree_add_item called for hf_pfcp_packet_rate_status_validity_time  -  item type is FT_UINT32 but call has len  8
epan/dissectors/packet-ppcap.c:265 proto_tree_add_item called for hf_ppcap_spc  -  item type is FT_UINT16 but call has len  3
epan/dissectors/packet-rmt-norm.c:455 proto_tree_add_item called for hf_cc_transport_id  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-rtcp.c:2573 proto_tree_add_item called for hf_rtcp_mcptt_participant_ref  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-rtitcp.c:423 proto_tree_add_item called for hf_rtitcp_header_control_byte  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-sasp.c:802 proto_tree_add_item called for hf_sasp_wt_rep_interval  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-scsi-ssc.c:866 proto_tree_add_item called for hf_scsi_ssc_readposition_first_block_location  -  item type is FT_UINT32 but call has len  8
epan/dissectors/packet-scsi-ssc.c:869 proto_tree_add_item called for hf_scsi_ssc_readposition_last_block_location  -  item type is FT_UINT32 but call has len  8
epan/dissectors/packet-scsi-ssc.c:877 proto_tree_add_item called for hf_scsi_ssc_readposition_num_bytes_buffer  -  item type is FT_UINT32 but call has len  8
epan/dissectors/packet-smb2.c:4180 proto_tree_add_item called for hf_smb2_output_buffer_len  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-smb2.c:4322 proto_tree_add_item called for hf_smb2_output_buffer_len  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-smb2.c:5233 proto_tree_add_item called for hf_smb2_negotiate_context_offset  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-smb2.c:5367 proto_tree_add_item called for hf_smb2_negotiate_context_offset  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-smb2.c:10216 proto_tree_add_item called for hf_smb2_comp_pattern_v1_reserved2  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-sna.c:954 proto_tree_add_item called for hf_sna_nlp_opti_0f_bits  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-spdy.c:1442 proto_tree_add_item called for hf_spdy_ping_id  -  item type is FT_UINT24 but call has len  4
epan/dissectors/packet-tdmoe.c:76 proto_tree_add_item called for hf_tdmoe_subaddress  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-tetra.c:9227 proto_tree_add_item called for hf_tetra_timer  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-tibia.c:1416 proto_tree_add_item called for hf_tibia_content_revision  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-tibia.c:1537 proto_tree_add_item called for hf_tibia_client_ram  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-tnef.c:239 proto_tree_add_item called for hf_tnef_values_count  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-tnef.c:254 proto_tree_add_item called for hf_tnef_value_length  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-tnef.c:338 proto_tree_add_item called for hf_tnef_mapi_props_count  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-u3v.c:1815 proto_tree_add_item called for hf_u3v_gencp_prefix  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-u3v.c:1832 proto_tree_add_item called for hf_u3v_gencp_prefix  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-ubertooth.c:924 proto_tree_add_item called for hf_cc2400_rssi_rssi_val  -  item type is FT_INT8 but call has len  2
epan/dissectors/packet-uftp.c:920 proto_tree_add_item called for hf_uftp_fileseg_seq_num  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-uftp4.c:1238 proto_tree_add_item called for hf_uftp_keyinfoack_reserved  -  item type is FT_UINT16 but call has len  3
epan/dissectors/packet-umts_fp.c:3365 proto_tree_add_item called for hf_fp_hsdsch_drt  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-ccid.c:559 proto_tree_add_item called for hf_ccid_wLevelParameter  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:180 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:185 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:219 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:247 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:270 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:275 proto_tree_add_item called for hf_usb_hub_descriptor_length  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:293 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:298 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:320 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:325 proto_tree_add_item called for hf_usb_hub_port  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:433 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:438 proto_tree_add_item called for hf_usb_hub_descriptor_length  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:464 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:490 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:495 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb-hub.c:530 proto_tree_add_item called for hf_usb_hub_zero  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb.c:3047 proto_tree_add_item called for hf_usb_device_address  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-usb.c:3758 proto_tree_add_item called for hf_usb_iso_numdesc  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-usb.c:4035 proto_tree_add_item called for hf_usb_win32_data_len  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-usb.c:4383 proto_tree_add_item called for hf_usb_iso_error_count  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-usb.c:4787 proto_tree_add_item called for hf_usb_device_address  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-usb.c:4842 proto_tree_add_item called for hf_usbport_urb_header_status  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-usbip.c:583 proto_tree_add_item called for hf_usbip_ep  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-vcdu.c:334 proto_tree_add_item called for hf_vcdu_seq  -  item type is FT_UINT16 but call has len  3
epan/dissectors/packet-vines.c:1239 proto_tree_add_item called for hf_vines_arp_packet_type  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-vnc.c:1238 proto_tree_add_item called for hf_vnc_tight_tunnel_type  -  item type is FT_UINT8 but call has len  16
epan/dissectors/packet-vsip.c:932 proto_tree_add_item called for hf_vsip_PingResp_Status  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-wassp.c:4493 proto_tree_add_item called for hf_wassp_ipprotocol  -  item type is FT_UINT8 but call has len  4
epan/dissectors/packet-wassp.c:4713 proto_tree_add_item called for hf_lsb_rsvd4  -  item type is FT_UINT8 but call has len  3
epan/dissectors/packet-wccp.c:806 proto_tree_add_item called for hf_security_info_option  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-wccp.c:1464 proto_tree_add_item called for hf_address_table_length  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-xot.c:237 proto_tree_add_item called for hf_xot_pvc_init_lcn  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-zbee-zcl-general.c:14789 proto_tree_add_item called for hf_zbee_gp_gpd_cluster_id  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-zbee-zcl-general.c:14799 proto_tree_add_item called for hf_zbee_gp_gpd_cluster_id  -  item type is FT_UINT8 but call has len  2
epan/dissectors/packet-zep.c:208 proto_tree_add_item called for hf_zep_seqno  -  item type is FT_UINT8 but call has len  4
plugins/epan/unistim/packet-unistim.c:2403 proto_tree_add_item called for hf_audio_nat_ip  -  item type is FT_UINT8 but call has len  4
plugins/epan/wimaxmacphy/packet-wimaxmacphy.c:1368 proto_tree_add_item called for hf_wimaxmacphy_number_of_zone_descriptors  -  item type is FT_UINT8 but call has len  3
plugins/epan/wimaxmacphy/packet-wimaxmacphy.c:1538 proto_tree_add_item called for hf_wimaxmacphy_ul_sub_burst_harq_ack_acid  -  item type is FT_UINT8 but call has len  4
plugins/epan/wimaxmacphy/packet-wimaxmacphy.c:2043 proto_tree_add_item called for hf_wimaxmacphy_prim_initial_frame_number  -  item type is FT_UINT8 but call has len  3
plugins/epan/wimaxmacphy/packet-wimaxmacphy.c:2319 proto_tree_add_item called for hf_wimaxmacphy_prim_current_frame_number_msn  -  item type is FT_UINT8 but call has len  2
221 issues found