Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-823): [#def1]
samba-4.22.1/source4/torture/smb2/lease.c:1521: error[arrayIndexOutOfBounds]: Array 'levels[4]' accessed at index 7, which is out of bounds.
# 1519|   	for (i = 0; i < sizeof(levels); i++) {
# 1520|   		c = (struct smb2_create) {
# 1521|-> 			.in.oplock_level = levels[i],
# 1522|   			.in.desired_access = SEC_RIGHTS_DIR_READ,
# 1523|   			.in.create_options = NTCREATEX_OPTIONS_DIRECTORY,

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-108.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-namesamba-4.22.0-20.fc42
diffbase-store-results-to/tmp/tmp64th9q_5/samba-4.22.0-20.fc42.tar.xz
diffbase-time-created2025-04-25 15:33:54
diffbase-time-finished2025-04-25 16:12:53
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp64th9q_5/samba-4.22.0-20.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp64th9q_5/samba-4.22.0-20.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-108.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-namesamba-4.22.1-1.fc43
store-results-to/tmp/tmpi0d7tb73/samba-4.22.1-1.fc43.tar.xz
time-created2025-04-25 16:13:44
time-finished2025-04-25 16:55:02
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpi0d7tb73/samba-4.22.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpi0d7tb73/samba-4.22.1-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9