clang-static-analyzer - scan-build results

User:fedora@ip-10-10-11-94.ec2.internal
Working Directory:/home/fedora/workspace/kea-dev/clang-static-analyzer
Command Line:make -j 4
Clang Version:clang version 19.1.5 (Fedora 19.1.5-1.fc41)
Date:Fri Dec 20 08:30:35 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs20
Blocking Error
Call to blocking function in critical section1
Error handling
Value of 'errno' could be undefined3
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

Filter Results by File

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
Blocking ErrorCall to blocking function in critical sectionusr/include/boost/asio/detail/impl/socket_ops.ipprecv181168View 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.ccinitSubnet9271View 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
Error handlingValue of 'errno' could be undefinedusr/src/googletest-1.14.0/googletest/include/gtest/gtest.hCmpHelperNE145730View Report
Error handlingValue of 'errno' could be undefinedusr/src/googletest-1.14.0/googletest/include/gtest/gtest.hCmpHelperEQ137930View Report
Error handlingValue of 'errno' could be undefinedhome/fedora/workspace/kea-dev/clang-static-analyzer/src/lib/dhcpsrv/testutils/test_utils.ccfindLastSocketFd1244View Report