Error: COMPILER_WARNING (CWE-704): [#def1] go-fdo-server-af51eaf6ce91fbbfcd1a47d018a34ce39ce8f9d7/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c: scope_hint: In function ‘sqlite3ShadowTableName’ go-fdo-server-af51eaf6ce91fbbfcd1a47d018a34ce39ce8f9d7/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-af51eaf6ce91fbbfcd1a47d018a34ce39ce8f9d7/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c: scope_hint: In function ‘unistrFunc’ go-fdo-server-af51eaf6ce91fbbfcd1a47d018a34ce39ce8f9d7/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;
| analyzer-version-clippy | 1.91.1 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 15.2.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-13.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | go-fdo-server-0.0.3-0.20251125085525275999.pr136.1.gaf51eaf |
| store-results-to | /tmp/tmpdnxs3cy2/go-fdo-server-0.0.3-0.20251125085525275999.pr136.1.gaf51eaf.tar.xz |
| time-created | 2025-11-25 09:05:26 |
| time-finished | 2025-11-25 09:07:22 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmpdnxs3cy2/go-fdo-server-0.0.3-0.20251125085525275999.pr136.1.gaf51eaf.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpdnxs3cy2/go-fdo-server-0.0.3-0.20251125085525275999.pr136.1.gaf51eaf.src.rpm' |
| tool-version | csmock-3.8.3.20251124.152119.g92ed7a6-1.el9 |