https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115274

--- Comment #15 from Sam James <sjames at gcc dot gnu.org> ---
On the original with Qing's v3 patch, quoting output from bundled copy in
nodejs but it happens with upstream too:
```
../../deps/sqlite/sqlite3.c:35003:28: warning: ‘strlen’ reading 1 or more bytes
from a region of size 0 [-Wstringop-overread]
35003 |   return 0x3fffffff & (int)strlen(z);
      |                            ^~~~~~~~~
  ‘sqlite3ColumnSetColl’: events 1-2
 35003 |   return 0x3fffffff & (int)strlen(z);
       |                            ~~~~~~~~~
       |                            |
       |                            (2) out of array bounds here
.......
122109 |   if( pCol->colFlags & COLFLAG_HASTYPE ){
       |     ^
       |     |
       |     (1) when the condition is evaluated to true
In function ‘sqlite3ColumnSetColl’:
```

Reply via email to