gjs-1.80.2-2.fc41

List of Defects

Error: COMPILER_WARNING: [#def1]
gjs-1.80.2-build/gjs-1.80.2/gi/arg-cache.cpp:1794:36: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 1794 |     m_args = new ArgumentPtr[size]{};
#      |                                    ^
/usr/include/c++/14/new: scope_hint: In member function ‘init’
/usr/include/c++/14/new:133:26: note: in a call to allocation function ‘operator new []’ declared here
#  133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
#      |                          ^
# 1792|       }
# 1793|   
# 1794|->     m_args = new ArgumentPtr[size]{};
# 1795|       return true;
# 1796|   }

Error: CLANG_WARNING: [#def2]
gjs-1.80.2-build/gjs-1.80.2/gjs/console.cpp:385:9: warning[deadcode.DeadStores]: Value stored to 'tracefd' is never read
#  383|       if (tracefd != -1) {
#  384|           close(tracefd);
#  385|->         tracefd = -1;
#  386|       }
#  387|   

Error: CPPCHECK_WARNING: [#def3]
gjs-1.80.2-build/gjs-1.80.2/installed-tests/minijasmine.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspect35b2g2xb/Regress-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def5]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspect35b2g2xb/Regress-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def6]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspect6mc66cxe/WarnLib-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def7]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspect6mc66cxe/WarnLib-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def8]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspecth5ia9xj4/GjsPrivate-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def9]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspecth5ia9xj4/GjsPrivate-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def10]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspectvj2f9mvw/GjsTestTools-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def11]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspectvj2f9mvw/GjsTestTools-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CPPCHECK_WARNING: [#def12]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspectxfqdmehi/GIMarshallingTests-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def13]
gjs-1.80.2-build/gjs-1.80.2/redhat-linux-build/tmp-introspectxfqdmehi/GIMarshallingTests-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CLANG_WARNING: [#def14]
gjs-1.80.2-build/gjs-1.80.2/test/gjs-test-jsapi-utils.cpp:319:5: warning[cplusplus.Move]: Method called on moved-from object 'autoptr'
#  317|       GjsAutoTestObject autoptr2 = std::move(autoptr);
#  318|       g_assert_true(autoptr2 == fx->ptr);
#  319|->     g_assert_null(autoptr);  // cppcheck-suppress accessMoved
#  320|   }
#  321|   

Error: CLANG_WARNING: [#def15]
gjs-1.80.2-build/gjs-1.80.2/test/gjs-tests.cpp:1167:57: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1165|           const char* seed = nullptr;
# 1166|   
# 1167|->         if (g_str_has_prefix(argv[i], "--cpp-seed=") && strlen(argv[i]) > 11)
# 1168|               seed = argv[i] + 11;
# 1169|           else if (i < argc - 1 && g_str_equal(argv[i], "--cpp-seed"))

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-79.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegjs-1.80.2-2.fc41
store-results-to/tmp/tmps8s3hr47/gjs-1.80.2-2.fc41.tar.xz
time-created2024-07-03 12:51:47
time-finished2024-07-03 12:53:41
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmps8s3hr47/gjs-1.80.2-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmps8s3hr47/gjs-1.80.2-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9