gjs-1.82.1-1.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-398): [#def1]
/usr/libexec/installed-tests/gjs/debugger-test.sh:8:9: warning[SC2100]: Use $((..)) for arithmetics, e.g. i=$((i - 2))
#    6|       gjs="$TOP_BUILDDIR/gjs-console"
#    7|   else
#    8|->     gjs=gjs-console
#    9|   fi
#   10|   

Error: SHELLCHECK_WARNING (CWE-156): [#def2]
/usr/libexec/installed-tests/gjs/scripts/testCommandLine.sh:319:24: warning[SC2046]: Quote this to prevent word splitting.
#  317|   
#  318|   # https://gitlab.gnome.org/GNOME/gjs/-/issues/322
#  319|-> $gjs --coverage-prefix=$(pwd) --coverage-output=$(pwd) awaitcatch.js
#  320|   grep -q TN: coverage.lcov
#  321|   report "coverage prefix is treated as an absolute path"

Error: SHELLCHECK_WARNING (CWE-156): [#def3]
/usr/libexec/installed-tests/gjs/scripts/testCommandLine.sh:319:49: warning[SC2046]: Quote this to prevent word splitting.
#  317|   
#  318|   # https://gitlab.gnome.org/GNOME/gjs/-/issues/322
#  319|-> $gjs --coverage-prefix=$(pwd) --coverage-output=$(pwd) awaitcatch.js
#  320|   grep -q TN: coverage.lcov
#  321|   report "coverage prefix is treated as an absolute path"

Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/usr/libexec/installed-tests/gjs/scripts/testCommandLineModules.sh:28:1: warning[SC2034]: OLD_G_DEBUG appears unused. Verify use (or export if used externally).
#   26|   
#   27|   # Avoid interference in the warning tests from G_DEBUG=fatal-warnings/criticals
#   28|-> OLD_G_DEBUG="$G_DEBUG"
#   29|   
#   30|   cat <<EOF >doubledynamicImportee.js

Error: COMPILER_WARNING: [#def5]
gjs-1.82.1-build/gjs-1.82.1/gi/arg-cache.cpp:1798:36: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 1798 |     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)
#      |                          ^
# 1796|       }
# 1797|   
# 1798|->     m_args = new ArgumentPtr[size]{};
# 1799|       return true;
# 1800|   }

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-136.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namegjs-1.82.1-1.fc42
store-results-to/tmp/tmp7fskap3z/gjs-1.82.1-1.fc42.tar.xz
time-created2024-11-12 23:58:24
time-finished2024-11-13 00:00:29
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp7fskap3z/gjs-1.82.1-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp7fskap3z/gjs-1.82.1-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9