Task #84130 - go-fdo-server-0.0.3-0.20251125085525275999.pr136.1.gaf51eaf/scan-results.err
back to task #84130download
Error: COMPILER_WARNING (CWE-704):
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):
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;