dnf5-5.2.13.1-1.fc43
List of Findings
Error: CPPCHECK_WARNING (CWE-825): [#def1]
dnf5-5.2.13.1/dnf5/commands/history/transaction_id.cpp:96: error[derefInvalidIterator]: Dereference of an invalid iterator: trans_id_cache.end()
Error: CPPCHECK_WARNING (CWE-825): [#def2]
dnf5-5.2.13.1/dnf5/commands/history/transaction_id.cpp:107: error[derefInvalidIterator]: Dereference of an invalid iterator: trans_id_cache.end()
Error: CPPCHECK_WARNING (CWE-758): [#def3]
dnf5-5.2.13.1/dnf5daemon-server/transaction.cpp:31: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
Error: CPPCHECK_WARNING (CWE-562): [#def4]
dnf5-5.2.13.1/libdnf5-cli/argument_parser.cpp:1393: error[returnDanglingLifetime]: Returning object that points to local variable 'arg' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def5]
dnf5-5.2.13.1/libdnf5-cli/argument_parser.cpp:1401: error[returnDanglingLifetime]: Returning object that points to local variable 'arg' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def6]
dnf5-5.2.13.1/libdnf5-cli/argument_parser.cpp:1408: error[returnDanglingLifetime]: Returning object that points to local variable 'arg' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def7]
dnf5-5.2.13.1/libdnf5-cli/argument_parser.cpp:1416: error[returnDanglingLifetime]: Returning object that points to local variable 'arg' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def8]
dnf5-5.2.13.1/libdnf5-cli/argument_parser.cpp:1427: error[returnDanglingLifetime]: Returning object that points to local variable 'arg' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def9]
dnf5-5.2.13.1/libdnf5-cli/argument_parser.cpp:1434: error[returnDanglingLifetime]: Returning object that points to local variable 'group' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-758): [#def10]
dnf5-5.2.13.1/libdnf5-cli/argument_parser.cpp:1531: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
Error: CPPCHECK_WARNING (CWE-909): [#def11]
dnf5-5.2.13.1/libdnf5/base/goal.cpp:2908: error[uninitStructMember]: Uninitialized struct member: group_replay.package_types
Error: CPPCHECK_WARNING (CWE-457): [#def12]
dnf5-5.2.13.1/libdnf5/base/goal.cpp:2908: error[uninitvar]: Uninitialized variable: group_replay.package_types
Error: CPPCHECK_WARNING (CWE-562): [#def13]
dnf5-5.2.13.1/libdnf5/repo/repo_sack.cpp:167: error[danglingLifetime]: Non-local variable 'p_impl->cmdline_repo' will use pointer to local variable 'repo'.
Error: CPPCHECK_WARNING (CWE-562): [#def14]
dnf5-5.2.13.1/libdnf5/repo/repo_sack.cpp:310: error[danglingLifetime]: Non-local variable 'p_impl->system_repo' will use pointer to local variable 'repo'.
Error: CPPCHECK_WARNING (CWE-909): [#def15]
dnf5-5.2.13.1/libdnf5/system/state.cpp:135: error[uninitStructMember]: Uninitialized struct member: group_state.package_types
Error: CPPCHECK_WARNING (CWE-457): [#def16]
dnf5-5.2.13.1/libdnf5/system/state.cpp:135: warning[uninitvar]: Uninitialized variable: group_state.package_types
Error: CPPCHECK_WARNING (CWE-457): [#def17]
dnf5-5.2.13.1/libdnf5/utils/fs/file.cpp:248: error[legacyUninitvar]: Uninitialized variable: length_to_end
Error: CPPCHECK_WARNING (CWE-398): [#def18]
dnf5-5.2.13.1/libdnf5/utils/sqlite3/sqlite3.hpp:328: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-476): [#def19]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_advisory.dir/advisoryPERL_wrap.cxx:1359: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-476): [#def20]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_common.dir/commonPERL_wrap.cxx:1359: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-476): [#def21]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_exception.dir/exceptionPERL_wrap.cxx:1359: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-476): [#def22]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_logger.dir/loggerPERL_wrap.cxx:1360: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-398): [#def23]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_logger.dir/loggerPERL_wrap.cxx:2554: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def24]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_logger.dir/loggerPERL_wrap.cxx:2590: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-476): [#def25]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_plugin.dir/pluginPERL_wrap.cxx:1360: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-398): [#def26]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_plugin.dir/pluginPERL_wrap.cxx:2373: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def27]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_plugin.dir/pluginPERL_wrap.cxx:2410: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def28]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_plugin.dir/pluginPERL_wrap.cxx:2449: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def29]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_plugin.dir/pluginPERL_wrap.cxx:2486: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def30]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_plugin.dir/pluginPERL_wrap.cxx:2527: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def31]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_plugin.dir/pluginPERL_wrap.cxx:2811: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-476): [#def32]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_transaction.dir/transactionPERL_wrap.cxx:1359: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-476): [#def33]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5/CMakeFiles/perl5_utils.dir/utilsPERL_wrap.cxx:1359: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-476): [#def34]
dnf5-5.2.13.1/redhat-linux-build/bindings/perl5/libdnf5_cli/CMakeFiles/perl5_progressbar.dir/progressbarPERL_wrap.cxx:1359: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-476): [#def35]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_advisory.dir/advisoryRUBY_wrap.cxx:1565: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def36]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_advisory.dir/advisoryRUBY_wrap.cxx:1623: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-457): [#def37]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_advisory.dir/advisoryRUBY_wrap.cxx:2586: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def38]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_advisory.dir/advisoryRUBY_wrap.cxx:2632: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def39]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_advisory.dir/advisoryRUBY_wrap.cxx:2689: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def40]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_advisory.dir/advisoryRUBY_wrap.cxx:2718: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-476): [#def41]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_common.dir/commonRUBY_wrap.cxx:1565: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def42]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_common.dir/commonRUBY_wrap.cxx:1623: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-457): [#def43]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_common.dir/commonRUBY_wrap.cxx:2627: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def44]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_common.dir/commonRUBY_wrap.cxx:2663: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def45]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_common.dir/commonRUBY_wrap.cxx:2720: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def46]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_common.dir/commonRUBY_wrap.cxx:2749: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-476): [#def47]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:1566: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def48]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:1624: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-457): [#def49]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:3027: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def50]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:3073: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def51]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:3130: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def52]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:3159: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def53]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:13607: error[legacyUninitvar]: Uninitialized variable: arg2
Error: CPPCHECK_WARNING (CWE-457): [#def54]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:13658: error[legacyUninitvar]: Uninitialized variable: arg2
Error: CPPCHECK_WARNING (CWE-457): [#def55]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:13717: error[legacyUninitvar]: Uninitialized variable: arg2
Error: CPPCHECK_WARNING (CWE-457): [#def56]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:13768: error[legacyUninitvar]: Uninitialized variable: arg2
Error: CPPCHECK_WARNING (CWE-457): [#def57]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:18663: error[legacyUninitvar]: Uninitialized variable: arg2
Error: CPPCHECK_WARNING (CWE-457): [#def58]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:18714: error[legacyUninitvar]: Uninitialized variable: arg2
Error: CPPCHECK_WARNING (CWE-457): [#def59]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:18773: error[legacyUninitvar]: Uninitialized variable: arg2
Error: CPPCHECK_WARNING (CWE-457): [#def60]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_comps.dir/compsRUBY_wrap.cxx:18824: error[legacyUninitvar]: Uninitialized variable: arg2
Error: CPPCHECK_WARNING (CWE-476): [#def61]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_exception.dir/exceptionRUBY_wrap.cxx:1565: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def62]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_exception.dir/exceptionRUBY_wrap.cxx:1623: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-457): [#def63]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_exception.dir/exceptionRUBY_wrap.cxx:2116: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-476): [#def64]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_logger.dir/loggerRUBY_wrap.cxx:1566: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def65]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_logger.dir/loggerRUBY_wrap.cxx:1624: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-457): [#def66]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_logger.dir/loggerRUBY_wrap.cxx:2478: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def67]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_logger.dir/loggerRUBY_wrap.cxx:2660: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def68]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_logger.dir/loggerRUBY_wrap.cxx:2691: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-476): [#def69]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_plugin.dir/pluginRUBY_wrap.cxx:1566: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def70]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_plugin.dir/pluginRUBY_wrap.cxx:1624: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-457): [#def71]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_plugin.dir/pluginRUBY_wrap.cxx:2777: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-398): [#def72]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_plugin.dir/pluginRUBY_wrap.cxx:4675: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def73]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_plugin.dir/pluginRUBY_wrap.cxx:4692: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def74]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_plugin.dir/pluginRUBY_wrap.cxx:4711: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def75]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_plugin.dir/pluginRUBY_wrap.cxx:4728: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-398): [#def76]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_plugin.dir/pluginRUBY_wrap.cxx:4748: error[throwInNoexceptFunction]: Exception thrown in function declared not to throw exceptions.
Error: CPPCHECK_WARNING (CWE-476): [#def77]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_repo.dir/repoRUBY_wrap.cxx:1566: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def78]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_repo.dir/repoRUBY_wrap.cxx:1624: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-457): [#def79]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_repo.dir/repoRUBY_wrap.cxx:3040: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def80]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_repo.dir/repoRUBY_wrap.cxx:3086: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def81]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_repo.dir/repoRUBY_wrap.cxx:3143: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def82]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_repo.dir/repoRUBY_wrap.cxx:3172: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def83]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_repo.dir/repoRUBY_wrap.cxx:3422: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-476): [#def84]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_transaction.dir/transactionRUBY_wrap.cxx:1565: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def85]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_transaction.dir/transactionRUBY_wrap.cxx:1623: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-457): [#def86]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_transaction.dir/transactionRUBY_wrap.cxx:2589: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def87]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_transaction.dir/transactionRUBY_wrap.cxx:2635: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def88]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_transaction.dir/transactionRUBY_wrap.cxx:2692: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def89]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_transaction.dir/transactionRUBY_wrap.cxx:2721: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-476): [#def90]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_utils.dir/utilsRUBY_wrap.cxx:1565: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def91]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_utils.dir/utilsRUBY_wrap.cxx:1623: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def92]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5_cli/CMakeFiles/ruby_progressbar.dir/progressbarRUBY_wrap.cxx:1565: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-476): [#def93]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5_cli/CMakeFiles/ruby_progressbar.dir/progressbarRUBY_wrap.cxx:1623: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: CPPCHECK_WARNING (CWE-457): [#def94]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5_cli/CMakeFiles/ruby_progressbar.dir/progressbarRUBY_wrap.cxx:2048: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def95]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5_cli/CMakeFiles/ruby_progressbar.dir/progressbarRUBY_wrap.cxx:2257: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def96]
dnf5-5.2.13.1/redhat-linux-build/bindings/ruby/libdnf5_cli/CMakeFiles/ruby_progressbar.dir/progressbarRUBY_wrap.cxx:2288: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-416): [#def97]
dnf5-5.2.13.1/test/libdnf5-cli/output/test_repoquery.cpp:52: error[deallocuse]: Dereferencing 'stream' after it is deallocated / released
Error: CPPCHECK_WARNING (CWE-416): [#def98]
dnf5-5.2.13.1/test/libdnf5/utils/test_fs.cpp:394: error[deallocuse]: Dereferencing 'file_p' after it is deallocated / released
Error: CPPCHECK_WARNING (CWE-398): [#def99]
dnf5-5.2.13.1/test/shared/base_test_case.cpp:112: warning[containerOutOfBounds]: Either the condition 'found.empty()' is redundant or expression 'found.begin()' causes access out of bounds.
Error: CPPCHECK_WARNING (CWE-398): [#def100]
dnf5-5.2.13.1/test/shared/base_test_case.cpp:133: warning[containerOutOfBounds]: Either the condition 'found.empty()' is redundant or expression 'found.begin()' causes access out of bounds.
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-83.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | dnf5-5.2.13.1-1.fc43 |
store-results-to | /tmp/tmpg89moatn/dnf5-5.2.13.1-1.fc43.tar.xz |
time-created | 2025-04-25 12:34:00 |
time-finished | 2025-04-25 12:47:58 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpg89moatn/dnf5-5.2.13.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpg89moatn/dnf5-5.2.13.1-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |