Fixed findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-571): [#def1]
/usr/share/podman/test/system/helpers.network.bash:64:15: warning[SC2155]: Declare and assign separately to avoid masking return values.
#   62|   function skip_if_no_pasta() {
#   63|       if ! has_pasta; then
#   64|->         local msg=$(_add_label_if_missing "$1" "pasta")
#   65|           skip "${msg:-not applicable with no pasta binary}"
#   66|       fi

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-107.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepodman-5.5.0~dev-1.20250410124213190645.pr25848.623.72fdc6476d
diffbase-store-results-to/tmp/tmpfvucn3wg/podman-5.5.0~dev-1.20250410124213190645.pr25848.623.72fdc6476d.tar.xz
diffbase-time-created2025-04-10 13:04:30
diffbase-time-finished2025-04-10 13:15:56
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,unicontrol,clippy,gcc' '-o' '/tmp/tmpfvucn3wg/podman-5.5.0~dev-1.20250410124213190645.pr25848.623.72fdc6476d.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpfvucn3wg/podman-5.5.0~dev-1.20250410124213190645.pr25848.623.72fdc6476d.src.rpm'
diffbase-tool-versioncsmock-3.8.0-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-107.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namepodman-5.5.0~dev-1.20250410120910989365.main.622.d5b1eb1cad
store-results-to/tmp/tmptg_myr6c/podman-5.5.0~dev-1.20250410120910989365.main.622.d5b1eb1cad.tar.xz
time-created2025-04-10 12:51:56
time-finished2025-04-10 13:03:49
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,unicontrol,clippy,gcc' '-o' '/tmp/tmptg_myr6c/podman-5.5.0~dev-1.20250410120910989365.main.622.d5b1eb1cad.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmptg_myr6c/podman-5.5.0~dev-1.20250410120910989365.main.622.d5b1eb1cad.src.rpm'
tool-versioncsmock-3.8.0-1.el9