sdbus-cpp-2.3.1-2.fc45

List of Findings

Error: CPPCHECK_WARNING (CWE-562): [#def1]
sdbus-cpp-2.3.1/include/sdbus-c++/VTableItems.inl:164: error[returnTempReference]: Reference to temporary returned.
#  162|           static_assert(sizeof...(Args) == sizeof...(String), "Numbers of signal parameters and their names don't match");
#  163|   
#  164|->         return withParameters<Args...>({names...});
#  165|       }
#  166|   

Error: CPPCHECK_WARNING (CWE-562): [#def2]
sdbus-cpp-2.3.1/tests/integrationtests/DBusMethodsTests.cpp:62: error[returnTempReference]: Reference to temporary returned.
#   60|   } // namespace my
#   61|   
#   62|-> SDBUSCPP_REGISTER_STRUCT(my::Struct, i, s, l); // NOLINT(readability-identifier-length)
#   63|   
#   64|   /*-------------------------------------*/

Error: CPPCHECK_WARNING (CWE-562): [#def3]
sdbus-cpp-2.3.1/tests/unittests/Message_test.cpp:145: error[returnTempReference]: Reference to temporary returned.
#  143|   } // namespace my
#  144|   
#  145|-> SDBUSCPP_REGISTER_STRUCT(my::Struct, i, s, l, e); // NOLINT(readability-identifier-length)
#  146|   
#  147|   SDBUSCPP_ENABLE_RELAXED_DICT2STRUCT_DESERIALIZATION(my::RelaxedStruct);

Error: CPPCHECK_WARNING (CWE-562): [#def4]
sdbus-cpp-2.3.1/tests/unittests/Message_test.cpp:148: error[returnTempReference]: Reference to temporary returned.
#  146|   
#  147|   SDBUSCPP_ENABLE_RELAXED_DICT2STRUCT_DESERIALIZATION(my::RelaxedStruct);
#  148|-> SDBUSCPP_REGISTER_STRUCT(my::RelaxedStruct, i, s, l, e); // NOLINT(readability-identifier-length)
#  149|   
#  150|   SDBUSCPP_ENABLE_NESTED_STRUCT2DICT_SERIALIZATION(my::NestedStruct);

Error: CPPCHECK_WARNING (CWE-562): [#def5]
sdbus-cpp-2.3.1/tests/unittests/Message_test.cpp:151: error[returnTempReference]: Reference to temporary returned.
#  149|   
#  150|   SDBUSCPP_ENABLE_NESTED_STRUCT2DICT_SERIALIZATION(my::NestedStruct);
#  151|-> SDBUSCPP_REGISTER_STRUCT(my::NestedStruct, i, s, e, x); // NOLINT(readability-identifier-length)
#  152|   
#  153|   /*-------------------------------------*/

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-163.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namesdbus-cpp-2.3.1-2.fc45
store-results-to/tmp/tmp0h0_25ao/sdbus-cpp-2.3.1-2.fc45.tar.xz
time-created2026-06-01 16:51:43
time-finished2026-06-01 16:54:07
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp0h0_25ao/sdbus-cpp-2.3.1-2.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp0h0_25ao/sdbus-cpp-2.3.1-2.fc45.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9