build - scan-build results

User:root@runner--azerasq-project-7898047-concurrent-0
Working Directory:/builds/wireshark/wireshark/build
Command Line:ninja
Clang Version:Ubuntu clang version 19.1.7 (++20250114103320+cd708029e0b2-1~exp1~20250114103432.75)
Date:Mon Jul 7 10:02:49 2025

Bug Summary

Bug TypeQuantityDisplay?
All Bugs119
API
Argument with 'nonnull' attribute passed null4
Error handling
Value of 'errno' could be undefined8
Value of 'errno' was not checked3
Logic error
Assigned value is garbage or undefined2
Garbage return value2
Result of operation is garbage or undefined3
Memory error
Memory leak44
Use-after-free1
Stream handling error
Invalid stream state11
Resource leak4
Stream already in EOF5
Suspicious operation
Bitwise shift10
Unused code
Dead assignment12
Dead increment2
Dead initialization5
Dead nested assignment3

Filter Results by File

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullui/recent.crecent_read_profile_static174821View Report
APIArgument with 'nonnull' attribute passed nullepan/dissectors/dcerpc/idl2wrs.cmergefile30384View Report
APIArgument with 'nonnull' attribute passed nullepan/wslua/lrexlib/common.cbuffer_addlstring18110View Report
APIArgument with 'nonnull' attribute passed nullepan/dissectors/packet-tls-utils.cssl_dissect_hnd_srv_hello1098164View Report
Logic errorAssigned value is garbage or undefinedepan/tvbuff.ctvb_new_octet_aligned42316View Report
Logic errorAssigned value is garbage or undefinedepan/dissectors/packet-snmp.csnmp_usm_password_to_key354844View Report
Suspicious operationBitwise shiftepan/tvbuff.c_tvb_get_bits64_le241132View Report
Suspicious operationBitwise shiftwsutil/dtoa.cdtoa_r296746View Report
Suspicious operationBitwise shiftepan/wslua/wslua_struct.cgetinteger45314View Report
Suspicious operationBitwise shiftepan/tvbuff.c_tvb_get_bits64_le239630View Report
Suspicious operationBitwise shiftwsutil/dtoa.cdtoa_r301049View Report
Suspicious operationBitwise shiftwsutil/dtoa.cdtoa_r295443View Report
Suspicious operationBitwise shiftwsutil/dtoa.cdtoa_r294651View Report
Suspicious operationBitwise shiftepan/tvbuff.c_tvb_get_bits64_le240332View Report
Suspicious operationBitwise shiftepan/proto.cproto_tree_add_split_bits_item_ret_val1347622View Report
Suspicious operationBitwise shiftepan/tvbuff.c_tvb_get_bits64_le238928View Report
Unused codeDead assignmentwsutil/dtoa.cdtoa_r32831View Report
Unused codeDead assignmentwsutil/dtoa.cdtoa_r28851View Report
Unused codeDead assignmentepan/dissectors/packet-mq.cdissect_mq_pdu27021View Report
Unused codeDead assignmentepan/dissectors/packet-mq.cdissect_mq_pdu26271View Report
Unused codeDead assignmentwsutil/dtoa.cdtoa_r29291View Report
Unused codeDead assignmentplugins/epan/wimaxasncp/packet-wimaxasncp.cdissect_wimaxasncp22241View Report
Unused codeDead assignmentwsutil/dtoa.cdtoa_r28791View Report
Unused codeDead assignmentwiretap/pcapng.cpcapng_read_block31351View Report
Unused codeDead assignmentwiretap/libpcap.clibpcap_read_header14371View Report
Unused codeDead assignmentepan/dissectors/packet-ieee80211-radio.cdissect_wlan_radio_phdr11711View Report
Unused codeDead assignmentepan/dissectors/packet-pgsql.cdissect_pgsql_logical_be_msg6261View Report
Unused codeDead assignmentui/help_url.ctopic_action_url3321View Report
Unused codeDead incrementepan/dissectors/packet-pgsql.cdissect_pgsql_logical_be_msg6021View Report
Unused codeDead incrementepan/dissectors/packet-pgsql.cdissect_pgsql_logical_be_msg6831View Report
Unused codeDead initializationepan/dfilter/sttype-op.coper_todisplay741View Report
Unused codeDead initializationepan/ftypes/ftypes.cftype_name1741View Report
Unused codeDead initializationepan/frame_data.cframe_delta_abs_time501View Report
Unused codeDead initializationepan/ftypes/ftypes.cftype_pretty_name2341View Report
Unused codeDead initializationepan/dfilter/syntax-tree.cstnode_op_name1041View Report
Unused codeDead nested assignmentwsutil/dtoa.cdtoa_r32811View Report
Unused codeDead nested assignmentwsutil/dtoa.cdtoa_r28711View Report
Unused codeDead nested assignmentwsutil/dtoa.cdtoa_r28571View Report
Logic errorGarbage return valueepan/wslua/wslua_tree.cTreeItem_add75115View Report
Logic errorGarbage return valueepan/wslua/wslua_tree.cTreeItem_add_le77415View Report
Stream handling errorInvalid stream stateui/summary.csummary_fill_in22514View Report
Stream handling errorInvalid stream stateepan/dissectors/dcerpc/idl2wrs.cmergefile30405View Report
Stream handling errorInvalid stream stateepan/dissectors/dcerpc/idl2wrs.ctokenize96820View Report
Stream handling errorInvalid stream stateepan/color_filters.cread_filters_file70784View Report
Stream handling errorInvalid stream statewsutil/filter_files.cws_filter_list_read20012View Report
Stream handling errorInvalid stream stateepan/dissectors/packet-tpncp.cfgetline43421View Report
Stream handling errorInvalid stream stateepan/dissectors/dcerpc/idl2wrs.ctokenize99217View Report
Stream handling errorInvalid stream stateplugins/epan/mate/mate_util.cloal_from_file158331View Report
Stream handling errorInvalid stream stateepan/dissectors/dcerpc/idl2wrs.creadcnffile310610View Report
Stream handling errorInvalid stream stateplugins/epan/mate/mate_util.cloal_from_file152321View Report
Stream handling errorInvalid stream statecapinfos.ccalculate_hashes106527View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_udp_to_table6416View Report
Memory errorMemory leakepan/reassemble.cfragment_add_work150668View Report
Memory errorMemory leakui/tap-sctp-analysis.cpacket90372View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_wlan_to_table42716View Report
Memory errorMemory leakui/cli/tap-follow.cfollow_stream5866View Report
Memory errorMemory leakui/cli/tap-flow.cflow_init1003View Report
Memory errorMemory leakui/qt/packet_list.cppmouseMoveEvent95013View Report
Memory errorMemory leakcapture/capture_sync.csync_interface_stats_open152710View Report
Memory errorMemory leakepan/dissectors/dcerpc/idl2wrs.cparsefunction275451View Report
Memory errorMemory leakcapture/capture_sync.csync_if_list_capabilities_open146721View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_wlan_to_table42116View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_tcp_to_table36716View Report
Memory errorMemory leakepan/dissectors/packet-tls-utils.cssl_generate_keyring_material481834View Report
Memory errorMemory leakcapture/capture_sync.csync_interface_stats_open152710View Report
Memory errorMemory leakepan/tvbuff_zlib.ctvb_uncompress_zlib29436View Report
Memory errorMemory leakepan/tvbuff_lz77huff.ctvb_uncompress_lz77huff39415View Report
Memory errorMemory leakepan/tvbuff_zstd.ctvb_uncompress_zstd8720View Report
Memory errorMemory leakui/cli/tap-iostat.ciostat_init172128View Report
Memory errorMemory leakepan/tvbuff_lznt1.ctvb_uncompress_lznt113615View Report
Memory errorMemory leakepan/protobuf_lang_tree.cpbl_add_child104424View Report
Memory errorMemory leakepan/tvbuff_zstd.ctvb_uncompress_zstd8730View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_eth_to_table25917View Report
Memory errorMemory leakepan/tvbuff_lz77.ctvb_uncompress_lz7712515View Report
Memory errorMemory leakepan/tvbuff.ctvb_generic_clone_offset_len50917View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_tcp_to_table36416View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_wlan_to_table42416View Report
Memory errorMemory leakepan/tvbuff_base64.cbase64uri_tvb_to_new_tvb21225View Report
Memory errorMemory leakcapture/capture_sync.csync_pipe_start95742View Report
Memory errorMemory leakui/qt/simple_statistics_dialog.cppaddMissingRows20724View Report
Memory errorMemory leakepan/tvbuff_brotli.ctvb_uncompress_brotli14921View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_ip_to_table1916View Report
Memory errorMemory leakcapture/capture_sync.csync_interface_set_80211_chan132710View Report
Memory errorMemory leakepan/reassemble.cfragment_defragment_and_free190910View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_udp_to_table6116View Report
Memory errorMemory leakepan/tvbuff.ctvb_new_octet_right_aligned49122View Report
Memory errorMemory leakepan/dissectors/dcerpc/idl2wrs.cparsetypedefenum293529View Report
Memory errorMemory leakui/qt/lte_rlc_statistics_dialog.cpptapPacket89214View Report
Memory errorMemory leakepan/dissectors/packet-t38.cforce_reassemble_seq38726View Report
Memory errorMemory leakepan/tvbuff_snappy.ctvb_uncompress_snappy4811View Report
Memory errorMemory leakcapture/capture_sync.csync_pipe_start95742View Report
Memory errorMemory leakepan/tvbuff.ctvb_new_octet_aligned42522View Report
Memory errorMemory leakwsutil/ws_pipe.cws_pipe_spawn_async64115View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_ip_to_table3416View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_eth_to_table26217View Report
Stream handling errorResource leakextcap/sshdump.cssh_open_remote_connection27945View Report
Stream handling errorResource leakextcap/sshdig.cssh_open_remote_connection24239View Report
Stream handling errorResource leakextcap/wifidump.cssh_open_remote_connection41739View Report
Stream handling errorResource leakepan/dissectors/packet-knxip_decrypt.cread_knx_keyring_xml_file78019View Report
Logic errorResult of operation is garbage or undefinedui/io_graph_item.hupdate_io_graph_item21416View Report
Logic errorResult of operation is garbage or undefinedwsutil/dtoa.cquorem2383131View Report
Logic errorResult of operation is garbage or undefinedwsutil/dtoa.cmult1834123View Report
Stream handling errorStream already in EOFwsutil/filter_files.cws_filter_list_read20012View Report
Stream handling errorStream already in EOFui/summary.csummary_fill_in22514View Report
Stream handling errorStream already in EOFcapinfos.ccalculate_hashes106527View Report
Stream handling errorStream already in EOFepan/color_filters.cread_filters_file70784View Report
Stream handling errorStream already in EOFepan/dissectors/packet-tpncp.cfgetline43421View Report
Memory errorUse-after-freewsutil/dtoa.cpow5mult1942111View Report
Error handlingValue of 'errno' could be undefinedextcap/androiddump.ccapture_android_bluetooth_btsnoop_net195945View Report
Error handlingValue of 'errno' could be undefinedextcap/androiddump.ccapture_android_logcat_text210043View Report
Error handlingValue of 'errno' could be undefinedextcap/androiddump.ccapture_android_bluetooth_hcidump14006View Report
Error handlingValue of 'errno' could be undefinedextcap/androiddump.ccapture_android_tcpdump236947View Report
Error handlingValue of 'errno' could be undefinedextcap/androiddump.ccapture_android_bluetooth_external_parser177616View Report
Error handlingValue of 'errno' could be undefinedextcap/androiddump.ccapture_android_logcat223641View Report
Error handlingValue of 'errno' could be undefinedepan/addr_resolv.chost_name_lookup_init374629View Report
Error handlingValue of 'errno' could be undefinedepan/addr_resolv.css7pc_name_lookup_init337541View Report
Error handlingValue of 'errno' was not checkedepan/addr_resolv.cfgetline76816View Report
Error handlingValue of 'errno' was not checkedepan/prefs.cread_prefs_file48724View Report
Error handlingValue of 'errno' was not checkedepan/dissectors/packet-ssh.cssh_keylog_read_file265622View Report