sqlite/src
drh ba28b5ab0a Fix a possible NULL pointer dereference in following an OOM error
in sqlite3ExprIsInteger(). Problem found by OSS-Fuzz.

FossilOrigin-Name: 5ec655e8e817c1ed3bfb2e576745a7cef441494ad7baf1bf9f8895e98ac19c5a
2017-03-12 20:28:44 +00:00
..
alter.c All temp.sqlite_master to be used as an alias for sqlite_temp_master. 2016-12-16 01:00:21 +00:00
analyze.c Do a single OP_Expire at the very end of "PRAGMA optimize", and omit the 2017-02-23 00:58:36 +00:00
attach.c Avoid unnecessary calls to sqlite3BtreeEnterAll() and sqlite3BtreeLeaveAll() 2017-01-02 18:19:29 +00:00
auth.c Rename the Db.zName field to Db.zDbSName to make it more descriptive and to 2016-08-18 14:33:11 +00:00
backup.c Allocate Parse objects off of the stack where appropriate for a substantial 2016-10-03 01:21:51 +00:00
bitvec.c Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. 2016-12-07 15:49:02 +00:00
btmutex.c Avoid unnecessary calls to sqlite3BtreeEnterAll() and sqlite3BtreeLeaveAll() 2017-01-02 18:19:29 +00:00
btree.c Merge updates from trunk. 2017-03-06 11:39:34 +00:00
btree.h The analyze_as_needed pragma now responds to table size growth and will 2017-02-17 19:24:06 +00:00
btreeInt.h Fix typos in using the MSVC_VERSION macro. 2017-02-13 13:26:33 +00:00
build.c Merge integrity_check and other improvements from trunk. 2017-02-22 19:49:54 +00:00
callback.c Change a char* to const char* in order to suppress some harmless 2016-02-24 19:57:11 +00:00
complete.c Enhance ability to debug out-of-memory errors. 2016-02-13 23:43:46 +00:00
ctime.c Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" for 2017-02-13 13:35:55 +00:00
date.c Remove an redundant function call from the date/time function implementation. 2017-03-03 21:36:26 +00:00
dbstat.c Rename the Db.zName field to Db.zDbSName to make it more descriptive and to 2016-08-18 14:33:11 +00:00
delete.c Fix a problem causing the pre-update hook to be invoked by DROP TABLE 2017-01-27 17:02:26 +00:00
expr.c Fix a possible NULL pointer dereference in following an OOM error 2017-03-12 20:28:44 +00:00
fault.c Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. 2016-12-07 15:49:02 +00:00
fkey.c Refactor the Table.nRef field as Table.nTabRef for easier grepping. 2016-12-14 14:07:35 +00:00
func.c Put the affinity() function implementation inside of #ifdef SQLITE_DEBUG. 2017-01-03 14:39:30 +00:00
global.c Provide the SQLITE_DEFAULT_LOOKASIDE compile-time option and make it's default 2017-01-02 19:02:20 +00:00
hash.c Use Knuth multiplicative hashing for the symbol table. 2016-09-28 20:42:31 +00:00
hash.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
hwtime.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
in-operator.md Refactor the sqlite3ExprCodeIN() routine for improved maintainability. 2016-08-25 21:14:34 +00:00
insert.c Always use the IsVirtual() macro to determine if a Table object is a virtual 2017-02-16 14:48:08 +00:00
legacy.c Change two MallocZero() calls into MallocRaw() to avoid unnecessary memset(). 2017-02-16 17:18:07 +00:00
loadext.c If compiled with SQLITE_INLINE_MEMCPY, all memcpy() calls are replaced with 2017-01-19 21:20:11 +00:00
main.c Add an sqlite3_set_last_insert_rowid() method. Use it to work around fts4 and 2017-02-27 14:52:48 +00:00
malloc.c Fix an error in the SQLITE_MAX_MEMORY implementation resulting from a bad 2017-03-10 17:03:11 +00:00
mem0.c
mem1.c Always invoke the xRoundup() method of the memory allocator before calling 2017-02-08 16:01:57 +00:00
mem2.c
mem3.c Performance optimizations to the sqlite3MallocSize() by requiring the 2015-10-15 16:20:57 +00:00
mem5.c Small simplification and performance improvement in memsys5Free(). 2016-01-25 01:07:59 +00:00
memjournal.c Update the header comment on the memjournal.c file. No code changes. 2016-04-12 11:58:18 +00:00
msvc.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
mutex.c Import common changes from the mutex initialization branch. 2015-09-12 18:57:45 +00:00
mutex.h Attempt to declare sqlite3MemoryBarrier() correctly for all possible 2015-09-10 04:17:06 +00:00
mutex_noop.c Add static mutexes for use by the built-in / third-party VFSs and use the built-in VFS mutex where appropriate. 2015-07-03 21:38:09 +00:00
mutex_unix.c Fix some harmless gcc compiler warnings. Mostly in fts5, but also two in the core code. 2015-12-23 16:42:27 +00:00
mutex_w32.c Minor enhancement to mutex tracing on Win32. 2017-02-15 18:30:57 +00:00
notify.c
os.c Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
os.h Since the return value of sqlite3OsClose() is always ignored, we might as 2016-04-14 13:16:58 +00:00
os_common.h Enhance the MSVC makefile to enable building 'testfixture' fully from source code. 2016-02-11 21:28:16 +00:00
os_setup.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
os_unix.c Work around a bug in the definition of "ino_t" on some versions of Android. 2016-12-05 20:06:45 +00:00
os_win.c Correct a harmless typo in the previous check-in. 2017-02-20 23:32:04 +00:00
os_win.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
pager.c Make SQLITE_DIRECT_OVERFLOW_READ work for in WAL mode as long as the page 2017-01-26 02:26:02 +00:00
pager.h Make SQLITE_DIRECT_OVERFLOW_READ work for in WAL mode as long as the page 2017-01-26 02:26:02 +00:00
parse.y Small size reduction and performance increase in the name resolver routine 2017-03-07 03:25:52 +00:00
pcache.c Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" for 2017-02-13 13:35:55 +00:00
pcache.h Remove the unused PGHDR_NEED_READ flag. Add invariant checking (during 2016-05-13 15:22:06 +00:00
pcache1.c Take care to avoid integer overflow when doing the initial page cache 2016-10-13 12:56:18 +00:00
pragma.c Make the default MASK argument for "PRAGMA optimize" be 0xfffe, to allow for 2017-03-06 23:51:16 +00:00
pragma.h Add an optional bitmask of allowed optimizations on the "PRAGMA optimize" 2017-03-02 14:17:21 +00:00
prepare.c Allocate Parse objects off of the stack where appropriate for a substantial 2016-10-03 01:21:51 +00:00
printf.c Add the "," flag to printf(). 2017-02-10 19:38:36 +00:00
random.c Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. 2016-12-07 15:49:02 +00:00
resolve.c More size and speed improvements in the expression name resolver. 2017-03-07 03:40:48 +00:00
rowset.c Optimizations to link list merge sort code in vdbesort.c, pcache.c, and 2016-05-20 14:54:54 +00:00
select.c Avoid a performance problem when very large "VALUES(..), (..), (..)" terms are 2017-02-03 19:16:39 +00:00
shell.c Increase the number of significant digits in floating point literals on 2017-03-11 00:46:57 +00:00
sqlite.h.in Add an sqlite3_set_last_insert_rowid() method. Use it to work around fts4 and 2017-02-27 14:52:48 +00:00
sqlite3.rc More work on the MSVC build. 2016-01-23 00:07:51 +00:00
sqlite3ext.h Avoid making unnecessary changes to the signatures of the 2016-08-01 14:35:48 +00:00
sqliteInt.h Do a single OP_Expire at the very end of "PRAGMA optimize", and omit the 2017-02-23 00:58:36 +00:00
sqliteLimit.h Update a requirement mark. No changes to code. 2016-03-23 13:46:05 +00:00
status.c Back out the use of __sync_fetch_and_sub() as it does not appear to work. 2017-01-03 21:50:49 +00:00
table.c If compiled with SQLITE_INLINE_MEMCPY, all memcpy() calls are replaced with 2017-01-19 21:20:11 +00:00
tclsqlite.c Further reforms to Tcl_*Alloc() usage. 2017-02-15 04:16:56 +00:00
test1.c Add the remember(V,PTR) extension function which copies an SQL value into 2016-11-30 16:54:52 +00:00
test2.c Have wal file checkpoints exit early if the sqlite3_interrupt() API function is called. 2016-08-12 16:21:15 +00:00
test3.c Changes to give a warning-free build with SQLITE_OMIT_INCRBLOB and 2016-09-10 19:51:40 +00:00
test4.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test5.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test6.c When saving the state of an RBU update in the incremental-checkpoint phase, 2017-03-02 14:51:47 +00:00
test7.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test8.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test9.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_async.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_autoext.c Avoid making unnecessary changes to the signatures of the 2016-08-01 14:35:48 +00:00
test_backup.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_bestindex.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_blob.c In the blob test code, avoid crashing on low-memory systems by using Tcl_AttemptAlloc(). 2017-02-15 01:39:28 +00:00
test_btree.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_config.c Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. 2016-12-07 15:49:02 +00:00
test_delete.c Add the missing SQLITE_API symbol to test_delete.c (it is not added 2017-01-23 15:58:09 +00:00
test_demovfs.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_devsym.c Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script. 2016-04-27 18:54:49 +00:00
test_fs.c Support running the fstree tests in 'vtabH.test' on Windows when not using the system drive. 2016-08-26 01:17:12 +00:00
test_func.c Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. 2016-12-07 15:49:02 +00:00
test_hexio.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_init.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_intarray.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_intarray.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
test_journal.c Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script. 2016-04-27 18:54:49 +00:00
test_loadext.c Fix some more harmless compiler warnings. 2015-12-16 22:06:52 +00:00
test_malloc.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_multiplex.c Remove the mutex from test_multiplex.c. 2016-10-27 14:51:02 +00:00
test_multiplex.h Fix various internal #defines to conform to new C-language naming restrictions, 2016-07-09 16:14:45 +00:00
test_mutex.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_onefile.c More harmless compiler warning fixes. 2016-04-12 20:05:06 +00:00
test_osinst.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_pcache.c
test_quota.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_quota.h
test_rtree.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_schema.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_server.c
test_sqllog.c Adjust filename creation in test_sqllog.c so that it uses leading zeros on 2017-01-04 14:53:53 +00:00
test_superlock.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_syscall.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_tclvar.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_thread.c Avoid making unnecessary changes to the signatures of the 2016-08-01 14:35:48 +00:00
test_vfs.c Make sure the SQLITE_TCLAPI macro is always defined. 2016-07-28 17:11:20 +00:00
test_vfstrace.c
test_windirent.c In the 'windirent' test module, use a macro for the hidden/system attribute checking. 2017-01-18 22:47:42 +00:00
test_windirent.h In the 'windirent' test module, use a macro for the hidden/system attribute checking. 2017-01-18 22:47:42 +00:00
test_wsd.c
threads.c Enhance ability to debug out-of-memory errors. 2016-02-13 23:43:46 +00:00
tokenize.c Performance optimization in the tokenizer/parser loop. 2017-03-07 14:38:52 +00:00
treeview.c Add an assert() to silence a coverity false-positive. 2016-11-04 11:23:30 +00:00
trigger.c All temp.sqlite_master to be used as an alias for sqlite_temp_master. 2016-12-16 01:00:21 +00:00
update.c Avoid redundant table b-tree cursor seeks in UPDATE statements that use the 2017-01-28 19:45:34 +00:00
utf.c Enhance ability to debug out-of-memory errors. 2016-02-13 23:43:46 +00:00
util.c Remove the CLANG_VERSION macro, since we have learned that version numbers in 2017-02-15 15:09:09 +00:00
vacuum.c Add the SQLITE_BUG_COMPATIBLE_20160819 compile-time option to omit the error 2017-02-18 13:47:11 +00:00
vdbe.c Do a single OP_Expire at the very end of "PRAGMA optimize", and omit the 2017-02-23 00:58:36 +00:00
vdbe.h Experimental enhancement to automatically trim NULL values from the end of 2017-01-25 14:58:27 +00:00
vdbeInt.h Experimental change to invoke the preupdate hook when WITHOUT ROWID tables are 2017-01-30 19:44:53 +00:00
vdbeapi.c If a reprepare is needed after binding to a variable with a number larger 2017-03-03 21:51:40 +00:00
vdbeaux.c If a reprepare is needed after binding to a variable with a number larger 2017-03-03 21:51:40 +00:00
vdbeblob.c Simplifications to blobSeekToRow(). 2017-01-31 19:02:15 +00:00
vdbemem.c Ensure that the sqlite3_value_text() interface returns a buffer that is long 2017-01-05 07:58:29 +00:00
vdbesort.c Simplifications to the way UnpackedRecord objects are allocated. Smaller 2016-12-21 19:45:54 +00:00
vdbetrace.c Improvements to sqlite3_trace_v2() documentation. Fix the 2016-07-23 04:58:57 +00:00
vtab.c Remove two redundant initializations from the virtual table logic. 2017-02-16 15:06:06 +00:00
vxworks.h Only use lstat() if the HAVE_LSTAT macro is defined. Fix some test file issues. 2016-01-25 18:43:05 +00:00
wal.c Enclose the sqlite3WalSnapshotRecover() routine within 2016-11-22 21:11:59 +00:00
wal.h Add experimental sqlite3_snapshot_recover() API. 2016-11-18 20:49:43 +00:00
walker.c Minor comment typo fixes. No changes to code. 2017-03-07 12:18:23 +00:00
where.c Make sure the translateColumnToCopy() routine in the query planner does not 2017-03-11 13:02:59 +00:00
whereInt.h Set the TF_StatsUsed flag on tables when the query planner outcome is 2017-02-17 15:26:36 +00:00
wherecode.c Query planner optimization to detect empty tables in a join early and bail out 2017-02-15 22:36:15 +00:00
whereexpr.c Fix indexes on expressions so that they can be actually used with 2017-02-11 14:59:58 +00:00