Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SQLite to v3.38.5 #133

Closed
wants to merge 1 commit into from
Closed

Update SQLite to v3.38.5 #133

wants to merge 1 commit into from

Conversation

vrischmann
Copy link
Contributor

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

@AdamSLevy
Copy link
Collaborator

I appreciate the update but just for security reasons I've made my own commits to update the sqlite C files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compilation warning about memcpy with gcc 11.2.0
2 participants