efi-rpm-macros-6-3.fc43

List of Findings

Error: SHELLCHECK_WARNING (CWE-477): [#def1]
/usr/lib/rpm/brp-boot-efi-times:4:27: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#    2|   
#    3|   # If using normal root, avoid changing anything.
#    4|-> if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
#    5|   	exit 0
#    6|   fi

Error: SHELLCHECK_WARNING (CWE-571): [#def2]
/usr/lib/rpm/brp-boot-efi-times:13:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
#   11|   update() {
#   12|   	local path="$1"
#   13|-> 	local ctime=$(stat -c "%Z" "${path}")
#   14|   
#   15|   	# we always want to touch it once...

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-40.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameefi-rpm-macros-6-3.fc43
store-results-to/tmp/tmp1uxmu913/efi-rpm-macros-6-3.fc43.tar.xz
time-created2025-04-25 12:37:39
time-finished2025-04-25 12:38:46
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp1uxmu913/efi-rpm-macros-6-3.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp1uxmu913/efi-rpm-macros-6-3.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9