tomcat-9.0.96-1.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/usr/libexec/tomcat/preamble:32:1: warning[SC2034]: VERBOSE appears unused. Verify use (or export if used externally).
#   30|     fi
#   31|   fi
#   32|-> VERBOSE=1
#   33|   set_javacmd
#   34|   cd ${CATALINA_HOME}

Error: SHELLCHECK_WARNING (CWE-252): [#def2]
/usr/libexec/tomcat/preamble:34:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#   32|   VERBOSE=1
#   33|   set_javacmd
#   34|-> cd ${CATALINA_HOME}
#   35|   # CLASSPATH munging
#   36|   if [ ! -z "$CLASSPATH" ] ; then

Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/usr/libexec/tomcat/server:5:1: warning[SC2034]: MAIN_CLASS appears unused. Verify use (or export if used externally).
#    3|   . /usr/libexec/tomcat/preamble
#    4|   
#    5|-> MAIN_CLASS=org.apache.catalina.startup.Bootstrap
#    6|   
#    7|   FLAGS="$JAVA_OPTS"

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-126.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nametomcat-9.0.96-1.fc42
store-results-to/tmp/tmps7yqlgr8/tomcat-9.0.96-1.fc42.tar.xz
time-created2024-11-13 03:21:19
time-finished2024-11-13 03:23:03
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmps7yqlgr8/tomcat-9.0.96-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmps7yqlgr8/tomcat-9.0.96-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9