build - scan-build results

User:root@runner-ns46nmmjt-project-7898047-concurrent-0
Working Directory:/builds/wireshark/wireshark/build
Command Line:ninja
Clang Version:Ubuntu clang version 20.1.8 (++20250708082409+6fb913d3e2ec-1~exp1~20250708202428.132)
Date:Thu Sep 11 10:03:57 2025

Bug Summary

Bug TypeQuantityDisplay?
All Bugs116
API
Argument with 'nonnull' attribute passed null7
Error handling
Value of 'errno' could be undefined8
Value of 'errno' was not checked3
Logic error
Assigned value is garbage or undefined2
Dereference of null pointer1
Garbage return value2
Result of operation is garbage or undefined5
Memory error
Memory leak49
Nullability1
Use-after-free1
Stream handling error
Invalid stream state10
Resource leak3
Stream already in EOF5
Suspicious operation
Bitwise shift2
Unused code
Dead assignment8
Dead initialization6
Dead nested assignment3

Filter Results by File

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullepan/dissectors/packet-xml.cmake_xml_hier137316View Report
APIArgument with 'nonnull' attribute passed nullplugins/epan/mate/mate_util.cscs_subscribe14329View Report
APIArgument with 'nonnull' attribute passed nullui/recent.crecent_read_profile_static175521View Report
APIArgument with 'nonnull' attribute passed nullepan/dissectors/packet-iax2.cdissect_ies145934View 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_hello1105264View 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/wslua/wslua_struct.cgetinteger45314View Report
Suspicious operationBitwise shiftepan/proto.cproto_tree_add_split_bits_item_ret_val1355122View Report
Unused codeDead assignmentwsutil/dtoa.cdtoa_r32841View Report
Unused codeDead assignmentwsutil/dtoa.cdtoa_r28861View Report
Unused codeDead assignmentwsutil/dtoa.cdtoa_r29301View Report
Unused codeDead assignmentwsutil/dtoa.cdtoa_r28801View Report
Unused codeDead assignmentwiretap/pcapng.cpcapng_read_block32251View Report
Unused codeDead assignmentwiretap/libpcap.clibpcap_read_header14491View Report
Unused codeDead assignmentepan/dissectors/packet-darwin.cdissect_darwin_data4321View Report
Unused codeDead assignmentui/help_url.ctopic_action_url3321View Report
Unused codeDead initializationepan/dfilter/sttype-op.coper_todisplay741View Report
Unused codeDead initializationepan/ftypes/ftypes.cftype_name1741View Report
Unused codeDead initializationwiretap/blf.cblf_dump_upper_pdu50001View 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_r32821View Report
Unused codeDead nested assignmentwsutil/dtoa.cdtoa_r28721View Report
Unused codeDead nested assignmentwsutil/dtoa.cdtoa_r28581View Report
Logic errorDereference of null pointerepan/dissectors/packet-rtps.cdissect_HEADER_EXTENSION1394350View 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 stateepan/dissectors/dcerpc/idl2wrs.creadcnffile310610View Report
Stream handling errorInvalid stream stateplugins/epan/mate/mate_util.cloal_from_file152421View 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.cpacket90472View 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 leakcapture/capture_sync.csync_pipe_start96161View Report
Memory errorMemory leakcapture/capture_sync.csync_pipe_start96142View Report
Memory errorMemory leakcapture/capture_sync.csync_interface_stats_open161910View Report
Memory errorMemory leakepan/dissectors/dcerpc/idl2wrs.cparsefunction275452View Report
Memory errorMemory leakcapture/capture_sync.csync_if_list_capabilities_open155921View 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 leakui/qt/packet_list.cppmouseMoveEvent92213View Report
Memory errorMemory leakepan/dissectors/packet-tls-utils.cssl_generate_keyring_material485734View Report
Memory errorMemory leakcapture/capture_sync.csync_interface_stats_open161910View Report
Memory errorMemory leakwiretap/blf.cblf_dump_expand_interface_mapping39939View 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 leakcapture/capture_sync.csync_pipe_start96142View 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_child104425View Report
Memory errorMemory leakepan/tvbuff_zstd.ctvb_uncompress_zstd8730View Report
Memory errorMemory leakbuild/epan/wslua/taps_wslua.cwslua_eth_to_table25917View Report
Memory errorMemory leakcapture/capture_sync.csync_pipe_start96161View Report
Memory errorMemory leakepan/tvbuff_lz77.ctvb_uncompress_lz7712415View 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_start96142View 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 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.cpptapPacket89213View 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_start96142View Report
Memory errorMemory leakwiretap/file_access.cwtap_dump_init_dumper227522View 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
Memory errorNullabilityepan/conversation.cfind_or_create_conversation_strat33008View Report
Stream handling errorResource leakextcap/sshdump.cssh_open_remote_connection27949View Report
Stream handling errorResource leakextcap/wifidump.cssh_open_remote_connection41739View Report
Stream handling errorResource leakepan/dissectors/packet-knxip_decrypt.cread_knx_keyring_xml_file78222View 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.cquorem2384136View Report
Logic errorResult of operation is garbage or undefinedwsutil/pint.hpntohu831422View Report
Logic errorResult of operation is garbage or undefinedwsutil/dtoa.cmult1835130View Report
Logic errorResult of operation is garbage or undefinedwsutil/dtoa.cdiff2091143View 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.cpow5mult1943113View 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_init370129View Report
Error handlingValue of 'errno' could be undefinedepan/addr_resolv.css7pc_name_lookup_init333041View Report
Error handlingValue of 'errno' was not checkedepan/addr_resolv.cfgetline77216View Report
Error handlingValue of 'errno' was not checkedepan/prefs.cread_prefs_file48954View Report
Error handlingValue of 'errno' was not checkedepan/dissectors/packet-ssh.cssh_keylog_read_file265615View Report