Closed vrischmann closed 2 years ago
Fixes the following warning on GCC 11+:
# crawshaw.io/sqlite In file included from ./static.go:19: ././c/sqlite3.c: In function ‘sqlite3Fts5IndexQuery’: ././c/sqlite3.c:226544:18: warning: ‘memcpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 226544 | if( nToken ) memcpy(&buf.p[1], pToken, nToken); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes #127
I appreciate the update but just for security reasons I've made my own commits to update the sqlite C files.
Fixes the following warning on GCC 11+:
Fixes #127