go-fdo-server-0.0.2-0.20251124161242645670.main.1.g498921c

List of Findings

Error: COMPILER_WARNING (CWE-704): [#def1]
go-fdo-server-498921c411d99c1d47c28d3d8588e1b7daddec24/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c: scope_hint: In function ‘sqlite3ShadowTableName’
go-fdo-server-498921c411d99c1d47c28d3d8588e1b7daddec24/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-498921c411d99c1d47c28d3d8588e1b7daddec24/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c: scope_hint: In function ‘unistrFunc’
go-fdo-server-498921c411d99c1d47c28d3d8588e1b7daddec24/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.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-13.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.2-0.20251124161242645670.main.1.g498921c
store-results-to/tmp/tmpqsq3w9i6/go-fdo-server-0.0.2-0.20251124161242645670.main.1.g498921c.tar.xz
time-created2025-11-25 09:02:41
time-finished2025-11-25 09:05:04
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmpqsq3w9i6/go-fdo-server-0.0.2-0.20251124161242645670.main.1.g498921c.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpqsq3w9i6/go-fdo-server-0.0.2-0.20251124161242645670.main.1.g498921c.src.rpm'
tool-versioncsmock-3.8.3.20251124.152119.g92ed7a6-1.el9