Newly introduced findings

List of Findings

Error: SHELLCHECK_WARNING: [#def1]
/usr/lib/rpm/redhat/brp-python-rpm-in-distinfo:9:155: warning[SC3045]: In POSIX sh, read -d is undefined.
#    7|   fi
#    8|   
#    9|-> find "$RPM_BUILD_ROOT" -name 'INSTALLER' -type f -print0|grep -z -E "/usr/lib(64)?/python3\.[0-9]+/site-packages/[^/]+\.dist-info/INSTALLER" | while read -d "" installer ; do
#   10|   	if cmp -s <(echo pip) "$installer" ; then
#   11|   		echo "rpm" > "$installer"

Error: SHELLCHECK_WARNING: [#def2]
/usr/lib/rpm/redhat/brp-python-rpm-in-distinfo:10:12: warning[SC3001]: In POSIX sh, process substitution is undefined.
#    8|   
#    9|   find "$RPM_BUILD_ROOT" -name 'INSTALLER' -type f -print0|grep -z -E "/usr/lib(64)?/python3\.[0-9]+/site-packages/[^/]+\.dist-info/INSTALLER" | while read -d "" installer ; do
#   10|-> 	if cmp -s <(echo pip) "$installer" ; then
#   11|   		echo "rpm" > "$installer"
#   12|   		rm -f $(dirname "$installer")/RECORD

Error: SHELLCHECK_WARNING (CWE-156): [#def3]
/usr/lib/rpm/redhat/brp-python-rpm-in-distinfo:12:9: warning[SC2046]: Quote this to prevent word splitting.
#   10|   	if cmp -s <(echo pip) "$installer" ; then
#   11|   		echo "rpm" > "$installer"
#   12|-> 		rm -f $(dirname "$installer")/RECORD
#   13|   	fi
#   14|   done

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
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-24.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepython-rpm-macros-3.13-4.fc42
diffbase-store-results-to/tmp/tmp64r8fozz/python-rpm-macros-3.13-4.fc42.tar.xz
diffbase-time-created2025-04-25 15:08:53
diffbase-time-finished2025-04-25 15:10:17
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp64r8fozz/python-rpm-macros-3.13-4.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp64r8fozz/python-rpm-macros-3.13-4.fc42.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-24.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-namepython-rpm-macros-3.13-5.fc43
store-results-to/tmp/tmp68bi2m5h/python-rpm-macros-3.13-5.fc43.tar.xz
time-created2025-04-25 15:10:35
time-finished2025-04-25 15:11:38
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp68bi2m5h/python-rpm-macros-3.13-5.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp68bi2m5h/python-rpm-macros-3.13-5.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9