Newly introduced findings

List of Findings

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

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

Error: COMPILER_WARNING (CWE-252): [#def3]
389-ds-base-3.4.0.202609291309git0f7de7a70/ldap/servers/slapd/daemon.c:2142:27: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 2142 |                     (void)read(c->c_idle_tfd, &expirations, sizeof(expirations));
#      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2140|                   if (c->c_idle_tfd >= 0) {
# 2141|                       uint64_t expirations;
# 2142|->                     (void)read(c->c_idle_tfd, &expirations, sizeof(expirations));
# 2143|                   }
# 2144|                   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-23.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.202609291301git9f737ce0e-main
diffbase-store-results-to/tmp/tmphkwpdpoc/389-ds-base-3.4.0.202609291301git9f737ce0e-main.tar.xz
diffbase-time-created2026-09-29 13:26:29
diffbase-time-finished2026-09-29 13:41:21
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-256dd78d-56e4-4883-8bd6-067ee2676764' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmphkwpdpoc/389-ds-base-3.4.0.202609291301git9f737ce0e-main.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmphkwpdpoc/389-ds-base-3.4.0.202609291301git9f737ce0e-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-23.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.202609291309git0f7de7a70-pr7846
store-results-to/tmp/tmpwaar8507/389-ds-base-3.4.0.202609291309git0f7de7a70-pr7846.tar.xz
time-created2026-09-29 13:42:31
time-finished2026-09-29 13:58:02
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-6ca1ec2b-7f66-4db9-9ecf-eb775cf70a8a' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmpwaar8507/389-ds-base-3.4.0.202609291309git0f7de7a70-pr7846.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpwaar8507/389-ds-base-3.4.0.202609291309git0f7de7a70-pr7846.src.rpm'
tool-versioncsmock-3.8.7.20260928.142326.g9f7dd5c-1.el9