]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Avoid integer overflows (a) when dealing with zeroblob(N) calls when 2*N is larger...
authordan <Dan Kennedy>
Mon, 13 Oct 2025 16:07:28 +0000 (16:07 +0000)
committerdan <Dan Kennedy>
Mon, 13 Oct 2025 16:07:28 +0000 (16:07 +0000)
commit264bcad69a449ecc46fd47859162d0536b1214a0
treee8ec6a3d5bd4f295164f2119c52c58c28b43c7e4
parenta8bb50ce954c299f1b2e16203e6f81858b73c7c9
Avoid integer overflows (a) when dealing with zeroblob(N) calls when 2*N is larger than 2^31, and (b) in fts5 when a corrupt record is close to 2^31 bytes in size. Both of these require special builds with SQLITE_MAX_LENGTH set to a non-default value.

FossilOrigin-Name: 27927519696dcb78ff72e245158ea6d33a1b2c3d4da314d4d0283c47d847c3da
ext/fts5/fts5_index.c
ext/fts5/test/fts5corruptbig.test [new file with mode: 0644]
manifest
manifest.uuid
src/vdbe.c