go-fdo-server-0.0.1-0.20251125110149879113.pr139.1.g63788a8

List of Findings

Error: COMPILER_WARNING (CWE-704): [#def1]
go-fdo-server-0.0.1/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c: scope_hint: In function ‘sqlite3ShadowTableName’
go-fdo-server-0.0.1/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c:125566:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#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.1/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c: scope_hint: In function ‘unistrFunc’
go-fdo-server-0.0.1/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c:131584:15: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#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.91.1
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-185.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namego-fdo-server-0.0.1-0.20251125110149879113.pr139.1.g63788a8
store-results-to/tmp/tmpc4_9ncvt/go-fdo-server-0.0.1-0.20251125110149879113.pr139.1.g63788a8.tar.xz
time-created2025-11-25 11:13:44
time-finished2025-11-25 11:15:47
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmpc4_9ncvt/go-fdo-server-0.0.1-0.20251125110149879113.pr139.1.g63788a8.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpc4_9ncvt/go-fdo-server-0.0.1-0.20251125110149879113.pr139.1.g63788a8.src.rpm'
tool-versioncsmock-3.8.3.20251124.152119.g92ed7a6-1.el9