clang-static-analyzer - scan-build results

User:fedora@ip-10-10-9-211.ec2.internal
Working Directory:/home/fedora/workspace/kea-dev/clang-static-analyzer
Command Line:make -j 4
Clang Version:clang version 18.1.6 (Fedora 18.1.6-3.fc40)
Date:Wed Nov 20 11:53:45 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs16
Logic error
Result of operation is garbage or undefined1
Memory error
Memory leak6
Use-after-free2
Suspicious operation
Bitwise shift2
Unused code
Dead assignment2
Dead initialization3

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Suspicious operationBitwise shifthome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/dhcp/option_data_types.ccwritePrefix5237View Report
Suspicious operationBitwise shifthome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/dhcp/option_data_types.ccreadPrefix46516View Report
Unused codeDead assignmenthome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/dhcpsrv/tests/alloc_engine4_unittest.ccTestBody40101View Report
Unused codeDead assignmenthome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/dhcpsrv/parsers/dhcp_parsers.ccinitSubnet9181View Report
Unused codeDead initializationhome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/dhcpsrv/parsers/host_reservation_parser.ccparsePrefix1271View Report
Unused codeDead initializationhome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/mysql/mysql_connection.ccopenDatabase651View Report
Unused codeDead initializationhome/fedora/workspace/kea-dev/clang-static-analyzer/src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.ccTestBody5371View Report
Memory errorMemory leakusr/include/boost/algorithm/string/detail/classification.hpp~is_any_ofF14117View Report
Memory errorMemory leakhome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/dhcp/option_space.ccvalidateName4511View Report
Memory errorMemory leakusr/include/boost/algorithm/string/detail/classification.hpp~is_any_ofF14118View Report
Memory errorMemory leakusr/include/boost/algorithm/string/detail/classification.hpp~is_any_ofF1417View Report
Memory errorMemory leakusr/include/boost/algorithm/string/detail/classification.hpp~is_any_ofF13721View Report
Memory errorMemory leakhome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/dhcp/option_space.ccvalidateName4511View Report
Logic errorResult of operation is garbage or undefinedusr/src/googletest-1.14.0/googletest/include/gtest/gtest.hCmpHelperEQ137911View Report
Memory errorUse-after-freeusr/include/boost/smart_ptr/detail/shared_count.hppweak_count55921View Report
Memory errorUse-after-freeusr/include/boost/smart_ptr/shared_ptr.hppoperator->78526View Report