SQLite Forum

compiler warning on Version 3.37.0 (2021-11-27).
Login

compiler warning on Version 3.37.0 (2021-11-27).

(1) By anonymous on 2021-11-30 03:10:32 [link] [source]

sqlite3.c: In function 'sqlite3Fts5IndexQuery':
sqlite3.c:228444:18: warning: 'memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
228444 |     if( nToken ) memcpy(&buf.p[1], pToken, nToken);
       |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(2) By Dan Kennedy (dan) on 2021-11-30 07:14:34 in reply to 1 [source]

Is that the only instance of this warning, or are there many others?

Dan.

(3) By anonymous on 2021-12-12 13:48:26 in reply to 2 [link] [source]

The only one