Newly introduced findings

List of Findings

Error: COMPILER_WARNING (CWE-569): [#def1]
389-ds-base-3.3.0.202608181721git189fd5d1a/ldap/servers/slapd/back-ldbm/ldbm_search.c: scope_hint: In function 'ldbm_search_substring_shrink_blanks'
389-ds-base-3.3.0.202608181721git189fd5d1a/ldap/servers/slapd/back-ldbm/ldbm_search.c:439:21: warning[-Wparentheses]: suggest parentheses around comparison in operand of '&'
#  439 |     if (trim_spaces & (SHRINK_LEADING_BLANK | TRIM_LEADING_BLANK) == 0) {
#      |                     ^
#  437|       }
#  438|   
#  439|->     if (trim_spaces & (SHRINK_LEADING_BLANK | TRIM_LEADING_BLANK) == 0) {
#  440|           /* Do not trim leading spaces */
#  441|           ctx.first_non_space = 0;

Error: COMPILER_WARNING (CWE-569): [#def2]
389-ds-base-3.3.0.202608181721git189fd5d1a/ldap/servers/slapd/back-ldbm/ldbm_search.c:444:21: warning[-Wparentheses]: suggest parentheses around comparison in operand of '&'
#  444 |     if (trim_spaces & (SHRINK_TRAILING_BLANK | TRIM_TRAILING_BLANK) == 0) {
#      |                     ^
#  442|       }
#  443|   
#  444|->     if (trim_spaces & (SHRINK_TRAILING_BLANK | TRIM_TRAILING_BLANK) == 0) {
#  445|           /* Do not trim trailing spaces */
#  446|           ctx.first_trailing_space = ctx.len;

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
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.97.1
diffbase-analyzer-version-cppcheck2.21.1
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-101.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.3.0.202608180515git3ed5b4077-main
diffbase-store-results-to/tmp/tmpn0pqttp7/389-ds-base-3.3.0.202608180515git3ed5b4077-main.tar.xz
diffbase-time-created2026-08-18 19:27:50
diffbase-time-finished2026-08-18 19:43:36
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpn0pqttp7/389-ds-base-3.3.0.202608180515git3ed5b4077-main.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpn0pqttp7/389-ds-base-3.3.0.202608180515git3ed5b4077-main.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260810.142351.gef180f1-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-101.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.3.0.202608181721git189fd5d1a-pr7727
store-results-to/tmp/tmpom3p0odj/389-ds-base-3.3.0.202608181721git189fd5d1a-pr7727.tar.xz
time-created2026-08-18 19:44:28
time-finished2026-08-18 19:59:19
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpom3p0odj/389-ds-base-3.3.0.202608181721git189fd5d1a-pr7727.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpom3p0odj/389-ds-base-3.3.0.202608181721git189fd5d1a-pr7727.src.rpm'
tool-versioncsmock-3.8.7.20260810.142351.gef180f1-1.el9