diff options
Diffstat (limited to 'third_party/sqlite')
-rw-r--r-- | third_party/sqlite/amalgamation/sqlite3.c | 2 | ||||
-rw-r--r-- | third_party/sqlite/src/ext/fts3/fts3.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/third_party/sqlite/amalgamation/sqlite3.c b/third_party/sqlite/amalgamation/sqlite3.c index 0a3d5f4..cb4efb2 100644 --- a/third_party/sqlite/amalgamation/sqlite3.c +++ b/third_party/sqlite/amalgamation/sqlite3.c @@ -112248,7 +112248,7 @@ static int fts3ScanInteriorNode( ** the prefix is longer than the previous term, or if the suffix ** causes overflow. */ - if( nPrefix<0 || nSuffix<0 || nPrefix>nBuffer + if( nPrefix<0 || nSuffix<0 /* || nPrefix>nBuffer */ || &zCsr[nSuffix]<zCsr || &zCsr[nSuffix]>zEnd ){ rc = SQLITE_CORRUPT; goto finish_scan; diff --git a/third_party/sqlite/src/ext/fts3/fts3.c b/third_party/sqlite/src/ext/fts3/fts3.c index 9707e03..8498cfa 100644 --- a/third_party/sqlite/src/ext/fts3/fts3.c +++ b/third_party/sqlite/src/ext/fts3/fts3.c @@ -1232,7 +1232,7 @@ static int fts3ScanInteriorNode( ** the prefix is longer than the previous term, or if the suffix ** causes overflow. */ - if( nPrefix<0 || nSuffix<0 || nPrefix>nBuffer + if( nPrefix<0 || nSuffix<0 /* || nPrefix>nBuffer */ || &zCsr[nSuffix]<zCsr || &zCsr[nSuffix]>zEnd ){ rc = SQLITE_CORRUPT; goto finish_scan; |