]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Add new APIs that take 64-bit length parameters:
authordrh <drh@noemail.net>
Tue, 9 Sep 2014 17:27:35 +0000 (17:27 +0000)
committerdrh <drh@noemail.net>
Tue, 9 Sep 2014 17:27:35 +0000 (17:27 +0000)
commitda4ca9d19cf92628f4989d95185f3b1fa1418e6d
treeff652efb98ce0af06f15f3df0eedc12c8bdf92aa
parent524a733d89355f01eac235d926e97b5cd6836b98
Add new APIs that take 64-bit length parameters:
sqlite3_malloc64(),
sqlite3_realloc64(),
sqlite3_bind_blob64(),
sqlite3_bind_texte64(),
sqlite3_result_blob64(),
and sqlite3_result_texte64().
Internal memory allocation routines also now use 64-bit unsigned length
parameters for safety.
Also add the sqlite3_msize() interface.
Fix the sqlite3_get_table() to use sqlite3_realloc64() to avoid a
integer overflow problem.

FossilOrigin-Name: 94954850cf2e1ec0b7f590c7f46cdc54c72558ce
manifest
manifest.uuid
src/btree.c
src/func.c
src/malloc.c
src/pager.c
src/sqlite.h.in
src/sqliteInt.h
src/table.c
src/vdbeapi.c