Task #84394 - go-fdo-server-0.0.1-0.20251126065930483379.pr102.1.gd157a97/scan-results.err
back to task #84394download
Error: COMPILER_WARNING (CWE-704):
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
#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):
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
#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;