aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | Add coverage of more functions to SQLITE_ENABLE_API_ARMOR builds.stephan2023-10-15
| |\ \ | | | | | | | | FossilOrigin-Name: 6cb77503484e104a51f08690974d6e19c336ab5467d327f84be1d042615f008c
| | * | Add API_ARMOR support to the scanstatus family of functions.stephan2023-10-14
| | | | | | | | | | | | FossilOrigin-Name: 2f3101f016d5f8d954a262befdf5e0f938a223e444bc534e1d3655b733f4663d
| | * | Add API_ARMOR support to the sqlite3_result_...() family of functions and ↵stephan2023-10-14
| | | | | | | | | | | | | | | | | | | | sqlite3_bind_zeroblob64(). FossilOrigin-Name: afabe3e35a66625527e2881749cdb6e13300888ab57bc0f05889d0e3ee203d73
| | * | More API_ARMOR additions.stephan2023-10-14
| | | | | | | | | | | | FossilOrigin-Name: 78ebf838f645742f87733665cd72af736df345683b27377a2c8310c893b1769d
| | * | Add column name to API_ARMOR check in sqlite3_blob_open() to avoid a ↵stephan2023-10-14
| | | | | | | | | | | | | | | | | | | | null-pointer deref. FossilOrigin-Name: 0114a6622afc4588c47e98d804340449417b603dc4831513eab4d8e4ccb15d42
| | * | Revert [f6cd88e6b234] - the NULL callback case is perfectly legal.stephan2023-10-14
| | | | | | | | | | | | FossilOrigin-Name: 718ab67607895176e529eb7469832d262a347d030e83e7ee66d3b4704bf933de
| | * | Extend API_ARMOR checks on sqlite3_commit/rollback_hook() to include a check ↵stephan2023-10-14
| | | | | | | | | | | | | | | | | | | | for the callback pointer. FossilOrigin-Name: f6cd88e6b234560f729ff00da86144a0121ad96d5a07d227c9ffa3f43c22f72d
| | * | Round one of an audit for SQLITE_ENABLE_API_ARMOR for functions exposed by ↵stephan2023-10-13
| | | | | | | | | | | | | | | | | | | | JNI and those functions missing armor, as [forum:5e3fc453a69b49ca|reported in several forum posts]. FossilOrigin-Name: 8c25c4b18ad07861bf0e47f99f3db04b569b9b859ad0690602f748ddf3576939
| * | | Do not allow an ALTER TABLE ADD COLUMN on a STRICT table if the added columndrh2023-10-14
| | | | | | | | | | | | | | | | | | | | contains a DEFAULT clause that would violate the type of the added column. FossilOrigin-Name: 75b075863eaa56e36635a1d27740d37de8600ba92099b3fad9378a1e6ce12c0e
| * | | Earlier detection of a host of errors in CREATE TABLE, such the CREATE TABLEdrh2023-10-13
| | | | | | | | | | | | | | | | | | | | | | | | statement itself fails, rather than generating an error on the first attempted use of the created table. FossilOrigin-Name: 348fa7aaf7958b3fb689ed023d946064ae8d92718a497a346e95114a2410cbf5
| * | | Apply the correct affinity to DEFAULT values that are TRUE or FALSE.drh2023-10-13
| | | | | | | | | | | | FossilOrigin-Name: 4958db70c8103e249748fdeffc35f1c385e2e550e8a48697b82fcd797f3016be
| * | | Do not allow triggers on shadow tables under defensive mode.drh2023-10-13
| | | | | | | | | | | | FossilOrigin-Name: 44b932ff16e35814febd842d11215cf243393f173aade33ceded473598221e88
| * | | Immediately fail a CREATE TABLE statement that attempts to create adrh2023-10-13
| | | | | | | | | | | | | | | | | | | | | | | | table that has a generated column loop. Legacy allows the table to be created but the table would not be usable for anything. FossilOrigin-Name: 3237bf964117c1ef71143042837ef21872bb3d04bfd682075672e768953ec802
| * | | Actually prevent PRAGMA writable_schema=ON from being set in defensive mode,drh2023-10-13
| |/ / | | | | | | | | | | | | rather than just preventing it from functioning. FossilOrigin-Name: 2b574d9e7e922d0961ea27bfc0148d3098157ff8d4feefba469489c81d43f3e0
| * | Avoid potential overflow in hex(). [forum:/forumpost/7ac0c9c5ea|See forum ↵larrybr2023-10-13
| | | | | | | | | | | | | | | post 7ac0c9c5ea.] FossilOrigin-Name: 2e968114fd0e60eebcc088dec02684e10b06ac1ec42d6bedb5287362f5cbf032
| * | Make sure virtual tables have been connected before trying to invokedrh2023-10-12
| | | | | | | | | | | | | | | the xIntegrity method during PRAGMA integrity_check. FossilOrigin-Name: 4a4eccb681741917c6771101d4e329f91eae9b035f4d345218e522bb55fff6da
* | | Merge fixes from trunk into the jsonb branch.drh2023-10-12
|\| | | | | | | | FossilOrigin-Name: a760bd7bcc63aac41c989bb5f4fbc927f9a93fe9c0aa18da2f0131483ec3f189
| * | Make sure the journal file is closed when transitioning into MEMORY journaldrh2023-10-12
| | | | | | | | | | | | | | | | | | mode, to avoid an assertion fault in the new sqlite3_randomness() avoidance code added by [c84e4483cb44f827]. FossilOrigin-Name: 29937081a986d88f495ad48748c35ff5829f0ac31dd4ad3e48d180ae2fcb9a0c
| * | CLI to check for rare prepare failures. [forum:/forumpost/5be6395182|See ↵larrybr2023-10-12
| | | | | | | | | | | | | | | forum post 5be6395182.] FossilOrigin-Name: 286d1e8012a5f5d9e1fe6dce1a732f725b8a1837f66daf6aefb792e19e96f2d4
| * | Fix the use of an uninitialized value that occurs when doing a json_insert()drh2023-10-11
| | | | | | | | | | | | | | | of a string value that contains embedded U+0000 characters. FossilOrigin-Name: d3c0cbb90966316be9cd25e3edb501da42731e8a83c13227b90ce17d3975a2c3
| * | Simplification to sqlite3ApiExit(). Generates identical machine code, butdrh2023-10-11
| | | | | | | | | | | | | | | easier for humans to read. FossilOrigin-Name: 793bbfa5af9721bc3a61e8e5eda46dfce2f5ff3f223a7564c9e1b09f11e53cb3
* | | Fix the use of an uninitialized value that occurs when doing a json_insert()drh2023-10-11
| | | | | | | | | | | | | | | of a string value that contains embedded U+0000 characters. FossilOrigin-Name: fc5ee9e51ad4556af526a6cefca5ae5a3b1b7affc4edf09832491d6b4f4ba366
* | | Fix a missing zero-terminator on a string when processingdrh2023-10-11
| | | | | | | | | | | | | | | JSON aggregates into JSONB. FossilOrigin-Name: fb81d570a3d9b8f55e9f278d5240605c5d0f3c5abde51550797999d03cf193a7
* | | Fix an issue that can arise when processing corrupt JSONB.drh2023-10-11
| | | | | | | | | FossilOrigin-Name: e50045c22296be84c6bea82bb8b310f07bca820c84d4a7349b16da0cf5d2657c
* | | Improved robustness against corrupt JSONB.drh2023-10-11
| | | | | | | | | FossilOrigin-Name: 0fbda92bb0eeb40f95c83f717e4e8f5bff1ac82f1c899e9f6d400d67df67214e
* | | Fix an assertion fault in json_patch() that can occur if the patch JSONdrh2023-10-11
| | | | | | | | | | | | | | | is malformed JSONB. Report the malformed JSONB instead. FossilOrigin-Name: a72d54645ca0dd80c60a5ed586049dead3ea7f5fa9ad05c6610a506242a7032a
* | | Improved robustness in the decoding of JSON5 text escape sequences founddrh2023-10-10
| | | | | | | | | | | | | | | in malformed JSONB. FossilOrigin-Name: 35e0108af2bdd830375c31c525f8ed0e8df64959d89649a88402dc1a5c376612
* | | Fix an off-by-one error in the changes from the previous check-in ondrh2023-10-10
| | | | | | | | | | | | | | | the jsonb branch. FossilOrigin-Name: 216191b113da43516d31301fb133173add66358d503677ab997bc82cc88bfea4
* | | Improved robustness when translating corrupt JSONB into JSON text.drh2023-10-10
| | | | | | | | | FossilOrigin-Name: 0caa320d9099adbaf98e3719003dbdc4d158abcb3d8a1af20fbcd4c08c970f4a
* | | Fix a potential buffer overrun due to corrupt JSONB.drh2023-10-10
| | | | | | | | | FossilOrigin-Name: 5cbb861fc6cb7421a81c957ba9d576e0ae92cb4ed725cdb539b364d66f4ee145
* | | Fix bugs uncovered by the fuzzer.drh2023-10-10
| | | | | | | | | FossilOrigin-Name: c96eb7fb618dc0a5aeec8a5e85076475b77dcd56309438aba1f9bddfc8921e3c
* | | Merge the latest trunk enhancements into the jsonb branch.drh2023-10-10
|\| | | | | | | | FossilOrigin-Name: f93f16c94d0a58dfa90939e84aba048be958c7b085b45a6f25c2243fdf79b3aa
| * | Use snprintf() in place of sprintf() in a debugging function in the CLI.drh2023-10-09
| | | | | | | | | FossilOrigin-Name: 5e5e4d2b4958c329578d1e5af4ed25c1b774f0ed2d15fa6747d7d7fbbba4fa46
| * | Avoid calling sqlite3_randomness and taking the PRNG mutex when writing a ↵dan2023-10-09
| | | | | | | | | | | | | | | journal header in "journal_mode=memory" mode. FossilOrigin-Name: c84e4483cb44f827416d8caafa22f076b2f31b2024fe8c5b5bcb0c9955149d11
| * | Fix a compiler warning caused by the previous check-in.drh2023-10-09
| | | | | | | | | FossilOrigin-Name: 7e8768bf8b4002b1c287f2bc95262548e2ae81b437936154f2bb1ea1f739a904
| * | Turn on SEH by default when building using MSVC.drh2023-10-09
| | | | | | | | | FossilOrigin-Name: f57e8275cf1ab3ad8027044cda0893282d1c403a5aa9fabbb1c7de280597b5cd
* | | Systematize the names of some of the translation function in the JSONdrh2023-10-09
| | | | | | | | | | | | | | | implementation. FossilOrigin-Name: db44bd1d62084ef69c808f7d07e0a25d5a089dcb8b98b1b5d026777591bbdefc
* | | Merge the latest trunk fixes and enhancements into the jsonb branch, anddrh2023-10-09
|\| | | | | | | | | | | | | | especially the JSON cache spill UAF fix. FossilOrigin-Name: 9422c24f4a8b290dcae61e50ec81be5b314b22c61a2bca1e194e47da1316b6e6
| * | Fix a potential UAF caused by JSON parser cache spill.drh2023-10-09
| | | | | | | | | | | | | | | [forum:/forumpost/b25edc1d46|Forum post b25edc1d46]. FossilOrigin-Name: a163fecca90cab9d1b7bf8ebac78d498775eed7b6d81e7920e3401633c3a4b60
* | | Remove some unnecessary code. Report errors for invalid JSONB input ondrh2023-10-07
| | | | | | | | | | | | | | | an extract. FossilOrigin-Name: cbea16c29eb0507f39b5a1cf744a3bb9bb7c71ac156e84a19d03a37cb1816891
* | | The return from sqlite3_value_blob() in jsonFuncArgMightBeBinary() mightdrh2023-10-07
| | | | | | | | | | | | | | | be a NULL pointer. Check for that case. FossilOrigin-Name: 7b52b266b066f1385144c1103a3a411306db5f44568366ae1e93cd8cce799bbc
* | | Improved detection of malformed JSONB when parsing it into a JsonNode array.drh2023-10-07
| | | | | | | | | FossilOrigin-Name: ed99a788415e1f8375bd5ec004dd18b1cd0fae4aa94558170882ca487f6dff93
* | | Fix the jsonbChangePayloadSize() routine so that it shifts the payload in orderdrh2023-10-07
| | | | | | | | | | | | | | | | | | | | | to always render the most compact encoding of the payload size. This is necessary as sometimes (as discovered by dbsqlfuzz) the payload size can grow significantly due to json_insert() or json_replace(). FossilOrigin-Name: 8d6d04ca975ec55c419d40d8463c433b0db698c9fb4812ab9f16d4ee5bee460e
* | | Improvements to error messages returned when the ->> operator fails.drh2023-10-07
| | | | | | | | | FossilOrigin-Name: 2f3388f14c843f1c02926e8b929365c06c1f1f4ea6fe6316092c3799c14549d3
* | | Merge the memory leak fix from trunk.drh2023-10-07
|\| | | | | | | | FossilOrigin-Name: 358de1b09f3d5ec0fe459775b0a2a99dfa235817327016b472aaa1ed56d952e6
| * | Fix a resource leak: sqlite3_blob_reopen() was failing to invoke thedrh2023-10-07
| | | | | | | | | | | | | | | | | | | | | | | | xDel() distructor on a register when it sets that register to the new rowid. This was never a problem prior to the large-column cache of [771fe35074b50b8d] as that destructor was always a no-op. dbsqlfuzz cd96368deaece480fb94d42427dde053737a650e. FossilOrigin-Name: 545edd5ecf20a7feb99dc5ce6f338fa1f172c2e17b240cbede497f0729dbd3d7
* | | Improved error messages from search on JSONB.drh2023-10-07
| | | | | | | | | FossilOrigin-Name: 96cfdc31e305406123f6ef1b920423f71902dc4b34381c3efb720274343d37cc
* | | Report unknown JSONB element type when parsing JSONB into JsonNode.drh2023-10-07
| | | | | | | | | FossilOrigin-Name: 1f4d3268257bda234c66c3767451b3d39d7b4c7c73a779ad396d9dfc5315905c
* | | Correct handling of "raw" strings in JSON. This requires three test-casedrh2023-10-06
| | | | | | | | | | | | | | | | | | changes in TH3 to add double-quotes to the path outputs from json_tree(). The new behavior is correct, I believe. FossilOrigin-Name: ab2bf3e3596dfa7566f4a130adeccbef4056c7321181112a875477193583f30c
* | | Improved error detection for JSONB inputs.drh2023-10-06
| | | | | | | | | FossilOrigin-Name: 6945e11aa441ace52b93cdbb81ac45b6f809987f3dbc522251e63f8cb948fddd