# build - scan-build results

User: | root@runner-dwpux52lh-project-7898047-concurrent-0
Working Directory: | /builds/wireshark/wireshark/build
Command Line: | ninja
Clang Version: | Ubuntu clang version 22.1.8 (++20260714015917+ca7933e47d3a-1~exp1~20260714135927.17)
Date: | Fri Aug 7 10:04:14 2026

## Bug Summary

Bug Type | Quantity | Display?
All Bugs | 121 |
API |
--- | ---
Argument with 'nonnull' attribute passed null | 3 |
Error handling |
Value of 'errno' could be undefined | 8 |
Value of 'errno' was not checked | 3 |
Logic error |
Assigned value is uninitialized | 1 |
Dereference of null pointer | 3 |
Garbage return value | 2 |
Possibly undefined arithmetic operation involving a null pointer | 9 |
Result of operation is garbage or undefined | 5 |
Uninitialized argument value | 2 |
Memory error |
Memory leak | 47 |
Nullability | 1 |
Use-after-free | 1 |
Stream handling error |
Invalid stream state | 10 |
Resource leak | 3 |
Stream already in EOF | 5 |
Suspicious operation |
Bitwise shift | 2 |
Unused code |
Dead assignment | 7 |
Dead increment | 1 |
Dead initialization | 5 |
Dead nested assignment | 3 |

## Filter Results by File

## Reports

Bug Group | Bug Type ▾ | File | Function/Method | Line | Path Length |
API | Argument with 'nonnull' attribute passed null | builds/wireshark/wireshark/plugins/epan/mate/mate_util.c | scs_subscribe | 141 | 31 | View Report
API | Argument with 'nonnull' attribute passed null | builds/wireshark/wireshark/epan/dissectors/dcerpc/idl2wrs.c | mergefile | 3038 | 4 | View Report
API | Argument with 'nonnull' attribute passed null | builds/wireshark/wireshark/epan/wslua/lrexlib/common.c | buffer_addlstring | 181 | 18 | View Report
Logic error | Assigned value is uninitialized | builds/wireshark/wireshark/epan/dissectors/packet-snmp.c | snmp_usm_password_to_key | 3542 | 44 | View Report
Suspicious operation | Bitwise shift | builds/wireshark/wireshark/epan/wslua/wslua_struct.c | getinteger | 453 | 14 | View Report
Suspicious operation | Bitwise shift | builds/wireshark/wireshark/epan/proto.c | proto_tree_add_split_bits_item_ret_val | 13878 | 22 | View Report
Unused code | Dead assignment | builds/wireshark/wireshark/wsutil/str_util.c | format_text_internal | 1244 | 1 | View Report
Unused code | Dead assignment | builds/wireshark/wireshark/wsutil/dtoa.c | dtoa_r | 3284 | 1 | View Report
Unused code | Dead assignment | builds/wireshark/wireshark/wsutil/dtoa.c | dtoa_r | 2886 | 1 | View Report
Unused code | Dead assignment | builds/wireshark/wireshark/wsutil/dtoa.c | dtoa_r | 2930 | 1 | View Report
Unused code | Dead assignment | builds/wireshark/wireshark/wsutil/dtoa.c | dtoa_r | 2880 | 1 | View Report
Unused code | Dead assignment | builds/wireshark/wireshark/wiretap/libpcap.c | libpcap_read_header | 1458 | 1 | View Report
Unused code | Dead assignment | builds/wireshark/wireshark/ui/help_url.c | topic_action_url | 333 | 1 | View Report
Unused code | Dead increment | builds/wireshark/wireshark/epan/dissectors/packet-nmea0183.c | dissect_nmea0183_sentence_air | 3715 | 1 | View Report
Unused code | Dead initialization | builds/wireshark/wireshark/epan/dfilter/sttype-op.c | oper_todisplay | 74 | 1 | View Report
Unused code | Dead initialization | builds/wireshark/wireshark/epan/ftypes/ftypes.c | ftype_name | 170 | 1 | View Report
Unused code | Dead initialization | builds/wireshark/wireshark/epan/ftypes/ftypes.c | ftype_pretty_name | 228 | 1 | View Report
Unused code | Dead initialization | builds/wireshark/wireshark/epan/dfilter/syntax-tree.c | stnode_op_name | 103 | 1 | View Report
Unused code | Dead initialization | builds/wireshark/wireshark/ui/qt/welcome_page.cpp | updateSidebarLayout | 324 | 1 | View Report
Unused code | Dead nested assignment | builds/wireshark/wireshark/wsutil/dtoa.c | dtoa_r | 3282 | 1 | View Report
Unused code | Dead nested assignment | builds/wireshark/wireshark/wsutil/dtoa.c | dtoa_r | 2872 | 1 | View Report
Unused code | Dead nested assignment | builds/wireshark/wireshark/wsutil/dtoa.c | dtoa_r | 2858 | 1 | View Report
Logic error | Dereference of null pointer | builds/wireshark/wireshark/epan/dissectors/packet-http.c | basic_request_dissector | 2710 | 10 | View Report
Logic error | Dereference of null pointer | builds/wireshark/wireshark/epan/dissectors/packet-oran.c | dissect_oran_u | 7443 | 24 | View Report
Logic error | Dereference of null pointer | builds/wireshark/wireshark/epan/dissectors/packet-oran.c | dissect_oran_u | 7410 | 23 | View Report
Logic error | Garbage return value | builds/wireshark/wireshark/epan/wslua/wslua_tree.c | TreeItem_add | 784 | 15 | View Report
Logic error | Garbage return value | builds/wireshark/wireshark/epan/wslua/wslua_tree.c | TreeItem_add_le | 807 | 15 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/ui/summary.c | summary_fill_in | 232 | 18 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/epan/dissectors/dcerpc/idl2wrs.c | mergefile | 3040 | 5 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/wsutil/filter_files.c | ws_filter_list_read | 200 | 12 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/epan/dissectors/dcerpc/idl2wrs.c | tokenize | 968 | 20 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/epan/color_filters.c | read_filters_file | 884 | 84 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/epan/dissectors/packet-tpncp.c | fgetline | 436 | 24 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/epan/dissectors/dcerpc/idl2wrs.c | tokenize | 992 | 17 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/epan/dissectors/dcerpc/idl2wrs.c | readcnffile | 3106 | 10 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/plugins/epan/mate/mate_util.c | loal_from_file | 1522 | 21 | View Report
Stream handling error | Invalid stream state | builds/wireshark/wireshark/capinfos.c | calculate_hashes | 1082 | 27 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_udp_to_table | 64 | 16 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/reassemble.c | fragment_add_work | 1527 | 30 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/ui/tap-sctp-analysis.c | packet | 904 | 76 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_wlan_to_table | 433 | 16 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/capture/capture_sync.c | sync_pipe_start | 963 | 61 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/capture/capture_sync.c | sync_pipe_start | 963 | 42 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/capture/capture_sync.c | sync_interface_stats_open | 1631 | 10 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/dissectors/dcerpc/idl2wrs.c | parsefunction | 2754 | 52 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff_zstd.c | tvb_uncompress_zstd | 87 | 32 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/capture/capture_sync.c | sync_if_list_capabilities_open | 1571 | 21 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_wlan_to_table | 427 | 16 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff_zlib.c | tvb_uncompress_zlib | 280 | 33 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/wsutil/ws_pipe.c | ws_pipe_spawn_async | 651 | 25 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/ui/qt/extcap_argument_multiselect.cpp | createEditor | 121 | 5 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_tcp_to_table | 367 | 16 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/ui/qt/packet_list.cpp | mouseMoveEvent | 923 | 13 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff_lz77huff.c | tvb_uncompress_lz77huff | 402 | 15 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/dissectors/packet-tls-utils.c | ssl_generate_keyring_material | 4072 | 27 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff_base64.c | base64uri_tvb_to_new_tvb | 249 | 27 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff_lz77.c | tvb_uncompress_lz77 | 148 | 19 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/capture/capture_sync.c | sync_interface_stats_open | 1631 | 10 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff_lznt1.c | tvb_uncompress_lznt1 | 154 | 15 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff_snappy.c | tvb_uncompress_snappy | 48 | 11 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/capture/capture_sync.c | sync_pipe_start | 963 | 42 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff.c | tvb_new_octet_right_aligned | 579 | 19 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/ui/cli/tap-iostat.c | iostat_init | 1724 | 28 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/protobuf_lang_tree.c | pbl_add_child | 1044 | 25 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_eth_to_table | 259 | 17 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/capture/capture_sync.c | sync_pipe_start | 963 | 61 | View Report
Memory error | Memory leak | usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h | invokeMethodCallableHelper | 646 | 7 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_tcp_to_table | 364 | 16 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_wlan_to_table | 430 | 16 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff_brotli.c | tvb_uncompress_brotli | 149 | 21 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/capture/capture_sync.c | sync_pipe_start | 963 | 42 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/ui/qt/simple_statistics_dialog.cpp | addMissingRows | 207 | 24 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff.c | tvb_new_octet_aligned | 520 | 19 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_ip_to_table | 19 | 16 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/tvbuff_zstd.c | tvb_uncompress_zstd | 87 | 22 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/reassemble.c | fragment_defragment_and_free | 2012 | 12 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_udp_to_table | 61 | 16 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/dissectors/dcerpc/idl2wrs.c | parsetypedefenum | 2935 | 29 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/ui/qt/lte_rlc_statistics_dialog.cpp | tapPacket | 892 | 13 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/epan/dissectors/packet-t38.c | force_reassemble_seq | 388 | 26 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/capture/capture_sync.c | sync_pipe_start | 963 | 42 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/ui/qt/main_application.cpp | MainApplication | 477 | 7 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_ip_to_table | 34 | 16 | View Report
Memory error | Memory leak | builds/wireshark/wireshark/build/epan/wslua/taps_wslua.c | wslua_eth_to_table | 262 | 17 | View Report
Memory error | Nullability | builds/wireshark/wireshark/epan/conversation.c | find_or_create_conversation_strat | 3304 | 5 | View Report
Logic error | Possibly undefined arithmetic operation involving a null pointer | builds/wireshark/wireshark/wiretap/cllog.c | parseLogLine | 425 | 16 | View Report
Logic error | Possibly undefined arithmetic operation involving a null pointer | builds/wireshark/wireshark/epan/wslua/wslua_struct.c | Struct_unpack | 544 | 13 | View Report
Logic error | Possibly undefined arithmetic operation involving a null pointer | builds/wireshark/wireshark/ui/text_import.c | process_directive | 1356 | 13 | View Report
Logic error | Possibly undefined arithmetic operation involving a null pointer | builds/wireshark/wireshark/wiretap/cllog.c | parseColumnHeaderFields | 473 | 20 | View Report
Logic error | Possibly undefined arithmetic operation involving a null pointer | builds/wireshark/wireshark/epan/wslua/lrexlib/common.c | buffer_addlstring | 181 | 18 | View Report
Logic error | Possibly undefined arithmetic operation involving a null pointer | builds/wireshark/wireshark/epan/dissectors/packet-obex.c | save_path | 1043 | 59 | View Report
Logic error | Possibly undefined arithmetic operation involving a null pointer | builds/wireshark/wireshark/epan/tvbuff.c | tvb_get_string_time | 2535 | 21 | View Report
Logic error | Possibly undefined arithmetic operation involving a null pointer | builds/wireshark/wireshark/wsutil/dtoa.c | dtoa_r | 2891 | 37 | View Report
Logic error | Possibly undefined arithmetic operation involving a null pointer | builds/wireshark/wireshark/wsutil/dtoa.c | nrv_alloc | 2492 | 13 | View Report
Stream handling error | Resource leak | builds/wireshark/wireshark/extcap/sshdump.c | ssh_open_remote_connection | 271 | 53 | View Report
Stream handling error | Resource leak | builds/wireshark/wireshark/extcap/wifidump.c | ssh_open_remote_connection | 409 | 51 | View Report
Stream handling error | Resource leak | builds/wireshark/wireshark/epan/dissectors/packet-knxip_decrypt.c | read_knx_keyring_xml_file | 809 | 24 | View Report
Logic error | Result of operation is garbage or undefined | builds/wireshark/wireshark/ui/io_graph_item.h | update_io_graph_item | 229 | 16 | View Report
Logic error | Result of operation is garbage or undefined | builds/wireshark/wireshark/wsutil/dtoa.c | quorem | 2384 | 136 | View Report
Logic error | Result of operation is garbage or undefined | builds/wireshark/wireshark/wsutil/pint.h | pntohu8 | 427 | 22 | View Report
Logic error | Result of operation is garbage or undefined | builds/wireshark/wireshark/wsutil/dtoa.c | mult | 1835 | 130 | View Report
Logic error | Result of operation is garbage or undefined | builds/wireshark/wireshark/wsutil/dtoa.c | diff | 2091 | 143 | View Report
Stream handling error | Stream already in EOF | builds/wireshark/wireshark/ui/summary.c | summary_fill_in | 232 | 18 | View Report
Stream handling error | Stream already in EOF | builds/wireshark/wireshark/capinfos.c | calculate_hashes | 1082 | 27 | View Report
Stream handling error | Stream already in EOF | builds/wireshark/wireshark/epan/color_filters.c | read_filters_file | 884 | 84 | View Report
Stream handling error | Stream already in EOF | builds/wireshark/wireshark/epan/dissectors/packet-tpncp.c | fgetline | 436 | 24 | View Report
Stream handling error | Stream already in EOF | builds/wireshark/wireshark/wsutil/filter_files.c | ws_filter_list_read | 200 | 12 | View Report
Logic error | Uninitialized argument value | builds/wireshark/wireshark/epan/wslua/wslua_tvb.c | TvbRange_stringz | 1092 | 20 | View Report
Logic error | Uninitialized argument value | builds/wireshark/wireshark/epan/proto.c | proto_tree_new_item | 3402 | 10 | View Report
Memory error | Use-after-free | builds/wireshark/wireshark/wsutil/dtoa.c | pow5mult | 1943 | 115 | View Report
Error handling | Value of 'errno' could be undefined | builds/wireshark/wireshark/extcap/androiddump.c | capture_android_bluetooth_btsnoop_net | 1967 | 49 | View Report
Error handling | Value of 'errno' could be undefined | builds/wireshark/wireshark/extcap/androiddump.c | capture_android_logcat_text | 2125 | 47 | View Report
Error handling | Value of 'errno' could be undefined | builds/wireshark/wireshark/extcap/androiddump.c | capture_android_bluetooth_hcidump | 1408 | 6 | View Report
Error handling | Value of 'errno' could be undefined | builds/wireshark/wireshark/extcap/androiddump.c | capture_android_tcpdump | 2394 | 20 | View Report
Error handling | Value of 'errno' could be undefined | builds/wireshark/wireshark/epan/addr_resolv.c | ss7pc_name_lookup_init | 3597 | 49 | View Report
Error handling | Value of 'errno' could be undefined | builds/wireshark/wireshark/extcap/androiddump.c | capture_android_bluetooth_external_parser | 1784 | 16 | View Report
Error handling | Value of 'errno' could be undefined | builds/wireshark/wireshark/extcap/androiddump.c | capture_android_logcat | 2261 | 45 | View Report
Error handling | Value of 'errno' could be undefined | builds/wireshark/wireshark/epan/addr_resolv.c | host_name_lookup_init | 4041 | 29 | View Report
Error handling | Value of 'errno' was not checked | builds/wireshark/wireshark/epan/addr_resolv.c | fgetline | 798 | 16 | View Report
Error handling | Value of 'errno' was not checked | builds/wireshark/wireshark/epan/prefs.c | read_prefs_file | 4865 | 4 | View Report
Error handling | Value of 'errno' was not checked | builds/wireshark/wireshark/epan/dissectors/packet-ssh.c | ssh_keylog_read_file | 2711 | 22 | View Report