go-fdo-server-0.0.4-1.20260204180839912543.main.50.g0bb54da

List of Findings

Error: COMPILER_WARNING (CWE-704): [#def1]
go-fdo-server-0.0.4/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c: scope_hint: In function ‘sqlite3ShadowTableName’
go-fdo-server-0.0.4/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c:125566:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#125566 |   zTail = strrchr(zName, '_');
#       |         ^
#125564|     char *zTail;                  /* Pointer to the last "_" in zName */
#125565|     Table *pTab;                  /* Table that zName is a shadow of */
#125566|->   zTail = strrchr(zName, '_');
#125567|     if( zTail==0 ) return 0;
#125568|     *zTail = 0;

Error: COMPILER_WARNING (CWE-704): [#def2]
go-fdo-server-0.0.4/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c: scope_hint: In function ‘unistrFunc’
go-fdo-server-0.0.4/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c:131584:15: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#131584 |     char *z = strchr(&zIn[i],'\\');
#       |               ^~~~~~
#131582|     i = j = 0;
#131583|     while( i<nIn ){
#131584|->     char *z = strchr(&zIn[i],'\\');
#131585|       if( z==0 ){
#131586|         n = nIn - i;

Scan Properties

analyzer-version-clippy1.93.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-25.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260119.105402.g7a5be1b.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namego-fdo-server-0.0.4-1.20260204180839912543.main.50.g0bb54da
store-results-to/tmp/tmpbfv6rt__/go-fdo-server-0.0.4-1.20260204180839912543.main.50.g0bb54da.tar.xz
time-created2026-02-06 18:19:31
time-finished2026-02-06 18:22:30
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,shellcheck,gcc,clippy' '-o' '/tmp/tmpbfv6rt__/go-fdo-server-0.0.4-1.20260204180839912543.main.50.g0bb54da.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpbfv6rt__/go-fdo-server-0.0.4-1.20260204180839912543.main.50.g0bb54da.src.rpm'
tool-versioncsmock-3.8.3.20260128.181932.g41af877-1.el9