Newly introduced findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-571): [#def1]
/usr/share/podman/test/system/252-quadlet.bats:522:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  520|   @test "quadlet - network delete with dependencies" {
#  521|       # Save the unit name to use as the network for the container
#  522|->     local network_name=$(safename)
#  523|       local quadlet_network_unit=dep_$(safename).network
#  524|       local quadlet_network_file=$PODMAN_TMPDIR/${quadlet_network_unit}

Error: SHELLCHECK_WARNING (CWE-571): [#def2]
/usr/share/podman/test/system/252-quadlet.bats:538:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  536|       local network_service=$QUADLET_SERVICE_NAME
#  537|   
#  538|->     local quadlet_container_file=$PODMAN_TMPDIR/user_$(safename).container
#  539|       cat > $quadlet_container_file <<EOF
#  540|   [Container]

Error: SHELLCHECK_WARNING (CWE-571): [#def3]
/usr/share/podman/test/system/252-quadlet.bats:720:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  718|   @test "quadlet kube - named network dependency" {
#  719|       # Save the unit name to use as the network for the container
#  720|->     local quadlet_network_unit=dep_$(safename).network
#  721|       local quadlet_network_file=$PODMAN_TMPDIR/${quadlet_network_unit}
#  722|       local network_name="n-$(safename)"

Error: SHELLCHECK_WARNING (CWE-571): [#def4]
/usr/share/podman/test/system/252-quadlet.bats:729:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  727|   
#  728|       # Have quadlet create the systemd unit file for the network unit
#  729|->     local quadlet_tmpdir=$(mktemp -d --tmpdir=$PODMAN_TMPDIR quadlet.XXXXXX)
#  730|       run_quadlet "$quadlet_network_file" "$quadlet_tmpdir"
#  731|   

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-164.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepodman-5.5.0~dev-1.20250414135119500346.main.642.f64204f651
diffbase-store-results-to/tmp/tmpymkyn81f/podman-5.5.0~dev-1.20250414135119500346.main.642.f64204f651.tar.xz
diffbase-time-created2025-04-14 18:18:41
diffbase-time-finished2025-04-14 18:30:23
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,unicontrol,clippy,gcc' '-o' '/tmp/tmpymkyn81f/podman-5.5.0~dev-1.20250414135119500346.main.642.f64204f651.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpymkyn81f/podman-5.5.0~dev-1.20250414135119500346.main.642.f64204f651.src.rpm'
diffbase-tool-versioncsmock-3.8.0-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-164.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namepodman-5.5.0~dev-1.20250414175830609083.pr25861.648.7eb82736b6
store-results-to/tmp/tmpendcz9yu/podman-5.5.0~dev-1.20250414175830609083.pr25861.648.7eb82736b6.tar.xz
time-created2025-04-14 18:30:44
time-finished2025-04-14 18:42:21
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,unicontrol,clippy,gcc' '-o' '/tmp/tmpendcz9yu/podman-5.5.0~dev-1.20250414175830609083.pr25861.648.7eb82736b6.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpendcz9yu/podman-5.5.0~dev-1.20250414175830609083.pr25861.648.7eb82736b6.src.rpm'
tool-versioncsmock-3.8.0-1.el9