Newly introduced findings

List of Findings

Error: COMPILER_WARNING (CWE-252): [#def1]
389-ds-base-3.4.0.202610061853git0893174f3/ldap/servers/slapd/daemon.c: scope_hint: In function ‘handle_pr_read_ready’
389-ds-base-3.4.0.202610061853git0893174f3/ldap/servers/slapd/daemon.c:2111:23: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 2111 |                 (void)read(c->c_idle_tfd, &expirations, sizeof(expirations));
#      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2109|                   /* 8 byte drain */
# 2110|                   uint64_t expirations;
# 2111|->                 (void)read(c->c_idle_tfd, &expirations, sizeof(expirations));
# 2112|               }
# 2113|               continue;

Error: COMPILER_WARNING (CWE-252): [#def2]
389-ds-base-3.4.0.202610061853git0893174f3/ldap/servers/slapd/daemon.c:2143:27: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 2143 |                     (void)read(c->c_idle_tfd, &expirations, sizeof(expirations));
#      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2141|                   if (c->c_idle_tfd >= 0) {
# 2142|                       uint64_t expirations;
# 2143|->                     (void)read(c->c_idle_tfd, &expirations, sizeof(expirations));
# 2144|                   }
# 2145|   #endif /* ENABLE_EPOLL */

Error: COMPILER_WARNING (CWE-252): [#def3]
389-ds-base-3.4.0.202610061853git0893174f3/ldap/servers/slapd/daemon.c:2176:27: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 2176 |                     (void)read(c->c_idle_tfd, &expirations, sizeof(expirations));
#      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2174|                   if (c->c_idle_tfd >= 0) {
# 2175|                       uint64_t expirations;
# 2176|->                     (void)read(c->c_idle_tfd, &expirations, sizeof(expirations));
# 2177|                   }
# 2178|                   c->c_maxthreadsblocked++;

Scan Properties

analyzer-version-clippy1.98.1
analyzer-version-cppcheck2.22.0
analyzer-version-gcc16.2.1
analyzer-version-gcc-analyzer16.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.98.1
diffbase-analyzer-version-cppcheck2.22.0
diffbase-analyzer-version-gcc16.2.1
diffbase-analyzer-version-gcc-analyzer16.2.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-195.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.20260813.215201.gc98a3c4.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-name389-ds-base-3.4.0.202610061643gitcb60126b2-main
diffbase-store-results-to/tmp/tmpshg5i6j9/389-ds-base-3.4.0.202610061643gitcb60126b2-main.tar.xz
diffbase-time-created2026-10-06 19:17:47
diffbase-time-finished2026-10-06 19:31:40
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-79c3d7a5-d447-4e55-b016-fba27c6a75ce' '-t' 'unicontrol,cppcheck,shellcheck,clippy,gcc' '-o' '/tmp/tmpshg5i6j9/389-ds-base-3.4.0.202610061643gitcb60126b2-main.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpshg5i6j9/389-ds-base-3.4.0.202610061643gitcb60126b2-main.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260928.142326.g9f7dd5c-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-195.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-name389-ds-base-3.4.0.202610061853git0893174f3-pr7846
store-results-to/tmp/tmpf1fr21zo/389-ds-base-3.4.0.202610061853git0893174f3-pr7846.tar.xz
time-created2026-10-06 19:33:03
time-finished2026-10-06 19:46:04
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-dd994926-3c2b-4178-9349-e5ed1271880d' '-t' 'unicontrol,cppcheck,shellcheck,clippy,gcc' '-o' '/tmp/tmpf1fr21zo/389-ds-base-3.4.0.202610061853git0893174f3-pr7846.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpf1fr21zo/389-ds-base-3.4.0.202610061853git0893174f3-pr7846.src.rpm'
tool-versioncsmock-3.8.7.20260928.142326.g9f7dd5c-1.el9