Newly introduced findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/bin/qat_init.sh:405:39: warning[SC2046]: Quote this to prevent word splitting.
#  403|               # Found a QAT VF, get its IOMMU group
#  404|               if [ -e "$PCI_DEV/iommu_group" ]; then
#  405|->                 IOMMU_GROUP=`basename $(readlink "$PCI_DEV/iommu_group")`
#  406|                   VFIO_NODE="/dev/vfio/$IOMMU_GROUP"
#  407|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:583:31: warning[-Wanalyzer-null-dereference]: dereference of NULL 'pSessionDesc'
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:474:8: branch_false: following 'false' branch...
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:495:12: branch_false: ...to here
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:495:12: branch_true: following 'true' branch (when 'pNsRefQatMsg' is non-NULL)...
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:499:13: branch_true: ...to here
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:575:8: branch_true: following 'true' branch...
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:578:12: branch_true: following 'true' branch...
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:581:17: branch_true: ...to here
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:581:16: branch_true: following 'true' branch...
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:583:31: branch_true: ...to here
qatlib-26.02.0/quickassist/lookaside/access_layer/src/common/compression/dc_dp.c:583:31: danger: dereference of NULL 'pSessionDesc'
#  581|               if (pOpData->pSessionHandle)
#  582|               {
#  583|->                 asbRegValue = dcCalcAsbRegValue(pOpData->bufferLenToCompress,
#  584|                                                   pSessionDesc->asb_mode,
#  585|                                                   pSessionDesc->asb_value);

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-178.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameqatlib-25.08.0-4.fc44
diffbase-store-results-to/tmp/tmpwx8re22w/qatlib-25.08.0-4.fc44.tar.xz
diffbase-time-created2026-06-01 16:19:39
diffbase-time-finished2026-06-01 16:23:39
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpwx8re22w/qatlib-25.08.0-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpwx8re22w/qatlib-25.08.0-4.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-178.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameqatlib-26.02.0-2.fc45
store-results-to/tmp/tmpsqst3ii3/qatlib-26.02.0-2.fc45.tar.xz
time-created2026-06-01 16:24:06
time-finished2026-06-01 16:27:33
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpsqst3ii3/qatlib-26.02.0-2.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpsqst3ii3/qatlib-26.02.0-2.fc45.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9