clang-static-analyzer - scan-build results

User:fedora@ip-10-10-2-181.ec2.internal
Working Directory:/home/fedora/workspace/kea-dev/clang-static-analyzer
Command Line:make -j 4
Clang Version:clang version 16.0.6 (Fedora 16.0.6-4.fc38)
Date:Wed May 1 16:00:30 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs12
Logic error
Result of operation is garbage or undefined1
Memory error
Memory leak6
Use-after-free2
Unused code
Dead assignment1
Dead initialization2

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unused codeDead assignmenthome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/dhcpsrv/tests/alloc_engine4_unittest.ccTestBody39581View 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.ccTestBody4931View 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-release-1.10.0/googletest/include/gtest/gtest.hCmpHelperEQ152712View 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->78726View Report