1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Additional changes making it easier to prove that integer overflow does not

occur.  No problems found.

FossilOrigin-Name: e846743a875430a5c51d41f00ac9532214f97d9925e6261113b63580f92369fc
This commit is contained in:
drh
2025-02-17 18:09:24 +00:00
parent ef86b942b9
commit 7bfa4452a3
7 changed files with 25 additions and 23 deletions

View File

@ -283,7 +283,7 @@ static int getNextString(
Fts3Expr *p = 0;
sqlite3_tokenizer_cursor *pCursor = 0;
char *zTemp = 0;
int nTemp = 0;
i64 nTemp = 0;
const int nSpace = sizeof(Fts3Expr) + sizeof(Fts3Phrase);
int nToken = 0;