dan
|
3fee9de239
|
Fix another case where malformed utf-8 was being mishandled in fts5. Fix for [df46a6f3].
FossilOrigin-Name: 1c0a05b09a97e6e2e9b11c31ed6ec7e6484686614b587ebfd0cfe27d973ba461
|
2019-12-24 16:20:05 +00:00 |
|
dan
|
84d17bdaa7
|
Fix an assert() added as part of commit [a11b393dc] that can fail if fts5 database records are corrupt.
FossilOrigin-Name: 4630c1ec013a4c2e54a34c9a64b2c803ac3912450de660497eb34ee21c91f426
|
2019-12-24 15:35:53 +00:00 |
|
dan
|
c26e78d275
|
Fix a spurious report of corruption that could be made by the fts5 integrity-check in SQLITE_DEBUG builds if the fts5 index contains malformed utf text.
FossilOrigin-Name: a11b393dc2c882cf0b3c47c3405bf43ca1d6459605bd39cccce4d32da653a72d
|
2019-12-24 14:27:03 +00:00 |
|
dan
|
7a1d7c3968
|
Fix "PRAGMA data_version" so that it works the same way with locking_mode=PERSIST and journal_mode=PERSIST configured. Fix for 7a458c2a5f.
FossilOrigin-Name: 45748e2db028ffbda5d3e747493721a5a89af3fbc06823081a2f27f570e40e73
|
2019-12-22 14:29:55 +00:00 |
|
dan
|
42ae633ab9
|
Fix two more cases in fts5 where sqlite3_value_bytes() was being called before sqlite3_value_text(). Fix for e431c355.
FossilOrigin-Name: a1ba9a37d7a68a6d31f8197c6350589ebe6a12f4e3c193a178dd7ead8bcd565a
|
2019-12-20 19:41:01 +00:00 |
|
drh
|
b2ab3dcff0
|
Fix harmless compiler warnings.
FossilOrigin-Name: 2bbd014c900e0d71fd30ec647739b82c5dc3aa237a0203f5a1db50593dae199e
|
2019-12-20 14:08:34 +00:00 |
|
dan
|
73b21382d4
|
Ensure fts5 consistently calls sqlite3_value_text() before sqlite3_value_bytes(). This matters when storing blobs in fts5 tables within utf-16 databases. Fix for [cf36cb4e02].
FossilOrigin-Name: c16305eba0eb14368f2631b9a82b7eb4483c93f3b31257ee7c33f9b00c344379
|
2019-12-20 13:24:11 +00:00 |
|
dan
|
db5ed35609
|
Avoid a buffer overread in fts5 that could occur when parsing corrupt configuration records.
FossilOrigin-Name: 355afd77df21a2265871ca6d075f26b1fa121c7c2682cf512281944ff0c2186d
|
2019-12-10 03:40:11 +00:00 |
|
dan
|
c19e22f397
|
Fix possible null pointer dereferences in the fts5_expr() scalar function.
FossilOrigin-Name: c5d44143599f3fe98492b2b900fa3d77925c7be545096251055ceeab899a41f1
|
2019-12-09 02:20:37 +00:00 |
|
drh
|
2bbcaee833
|
Fix various documentation typos suggested by Mark Benningfield.
No changes to code.
FossilOrigin-Name: 08f09dc4f986a27f4e4e69f8226dbfaf0cfe1269cefc2830bf0fbef7b9bbda48
|
2019-11-26 14:24:12 +00:00 |
|
dan
|
7e88d6364c
|
Fix a memory leak in fts5 error handling code.
FossilOrigin-Name: de6637e15d95b7aee2caea8b8d5b9865f276cbbf152ecf0401c4c7bfdf6dee6f
|
2019-11-23 08:36:35 +00:00 |
|
dan
|
6637332988
|
Prevent direct and indirect recursive content= options in fts3/4 and fts5.
FossilOrigin-Name: 2eb997327c2c369c10b7835be80112d77cb2a7cfa9fe4d564042984c21d94698
|
2019-11-21 14:20:59 +00:00 |
|
dan
|
9930cfe878
|
Fix a problem in fts3 causing it to report corruption if a doclist contains consectutive rowid entries that differ by more than 2^63.
FossilOrigin-Name: 0b0a3048f9df88bbc8979f2ac5247bee7d7bc1e585faca252610d2fcbe36d51d
|
2019-10-28 13:54:59 +00:00 |
|
dan
|
ef2df8f343
|
In fts5, fix a case of overreading a buffer by 1 byte when counting characters in malformed utf-8. Fix for [dd1f67bf].
FossilOrigin-Name: 8d964e1c21d4cea699023e02b0616a75c5859dd083c9365cdcbc0676ebbdaae4
|
2019-10-24 20:35:27 +00:00 |
|
dan
|
52612bec3c
|
Fix a resource leak in fts5 that could occur if an auxiliary function is called from within a query that does not use the full-text index.
FossilOrigin-Name: b528bdcd45db1b783ecd9739c3d3c890f04de7003f079668970eafaf8e23b2f3
|
2019-10-20 08:26:08 +00:00 |
|
dan
|
2d82269ca8
|
Fix a problem with row-value IN(...) operators and virtual tables.
FossilOrigin-Name: aa57d7abac0bb92d4d5fd4e093a11cf8efc04e4eed748b2a400d01f137250649
|
2019-10-14 15:15:50 +00:00 |
|
dan
|
ae55737fbf
|
Do not allow users to effectively disable fts5 crisismerge operations by setting the crisismerge threshold to higher than the maximum allowable segment b-trees on a single level. Fix for [d392017c].
FossilOrigin-Name: 86e497209217abb7bcb491a023cd353f3c7c9c103ebd9f58dd8661b12cf3694c
|
2019-10-09 18:36:32 +00:00 |
|
dan
|
a6bd1871d1
|
Disallow fts5 page sizes greater than 65536 bytes - as there are 16-bit offsets used in the page header.
FossilOrigin-Name: 75775c5ab44e497cb19be10397229637f1374f05c3244e8f92d6c54fcea94f5f
|
2019-10-09 15:26:45 +00:00 |
|
dan
|
fbd79cc585
|
Fix problems with using the fts5 'rebuild' command inside a transaction that contains other updates of the same table. Fix for [e258f008].
FossilOrigin-Name: 238e0835714696aba0631f288fcc30ec5fddb43893d469c6bf017f386b3cddee
|
2019-10-08 13:34:24 +00:00 |
|
dan
|
b186a622ee
|
Disallow page-sizes smaller than 32 bytes in fts5. Also ensure the fts5 integrity-check works even when "PRAGMA reverse_unordered_selects" is true. Fix for [265e935b26].
FossilOrigin-Name: 8ab0aebdb3c2d6fb3160b2c58ce6cc0495a6ddd960878a6395958c837f3d1b71
|
2019-10-07 20:36:18 +00:00 |
|
dan
|
03e025e217
|
Fix a problem with running ALTER TABLE ADD COLUMN statements within a transaction that writes to one or more virtual tables.
FossilOrigin-Name: 31e85fbbc4cfd09a98b4a6dc6624f863816f376c6a4eef1fafc657c8e1abbc36
|
2019-10-07 18:43:21 +00:00 |
|
dan
|
4b48c72721
|
Fix a "jump depends on unititialized value" valgrind error in fts5 triggered by corrupt database records.
FossilOrigin-Name: 6b6751cd90601a1e2744a7d233c973291ecb783801b9327c3b99734dd22bcd27
|
2019-09-18 11:46:34 +00:00 |
|
drh
|
3f3f2c7357
|
Ensure that the idxStr for FTS5 is always zero-terminated.
Fix for check-in [e6db945454a0dae2]
FossilOrigin-Name: 090cd07d37904da4610d6a6787a3cc825c9a8bdcc5f051267d4608bba9b49d03
|
2019-09-13 13:23:13 +00:00 |
|
drh
|
fbb9a5b1e3
|
Fix harmless compiler warnings.
FossilOrigin-Name: a8927d14f88c44828e794787bab080455ab62705c93f65ce7d8db83478aa5a8e
|
2019-09-13 12:24:58 +00:00 |
|
dan
|
685b2ee0c3
|
Allow fts5 to filter on multiple MATCH clauses in a single scan.
FossilOrigin-Name: 9d418a7a491761eeb38a70898677a493e2631e5d62e75ee88431f52d3dfd2344
|
2019-09-12 19:38:40 +00:00 |
|
dan
|
229ae1ae72
|
Fix a potential crash in fts5 caused by using an auxiliary function on a "special" query like '*id' or '*reads'.
FossilOrigin-Name: 9490683ae883561fa347cbe54ebdd61188d849b4852d904b508250ba5d0807ef
|
2019-09-02 14:46:12 +00:00 |
|
dan
|
50b3ea2daf
|
Fix a potential buffer overrun in fts5 caused by corrupted database records.
FossilOrigin-Name: c465d0eb478e42045e08efe8b6fa64d4bd4d747cdf743beae4608562b014169e
|
2019-08-29 14:25:44 +00:00 |
|
dan
|
298680d15a
|
Fix a potential buffer overrun in fts5 caused by corrupt database records.
FossilOrigin-Name: 156d612800a7282fe0ebb20feb31d3fd577f4ab60fab8c00940c87143997aefb
|
2019-08-24 17:11:29 +00:00 |
|
dan
|
35fb866ea3
|
Fix a problem with fts5 "ORDER BY rank" queries when the fts5 table name requires quoting.
FossilOrigin-Name: 00e9a8f2730eb7239bf7fd107c97c409e4f9fbd968510766373440a9079898eb
|
2019-08-20 19:11:29 +00:00 |
|
dan
|
3cbbd195ca
|
Prevent an fts5 table from being its own content table, or part of a view that is the content table.
FossilOrigin-Name: b6d52c9364767ff4ab7279ae981afb97799299dcfaf38a0110c40ca82c72a825
|
2019-08-05 12:55:56 +00:00 |
|
dan
|
bfe33f80dd
|
Fix a potential buffer overread in fts5 triggered by a corrupt database record.
FossilOrigin-Name: 16472112b6886ada18d45cfb409cca2e83dde5a8ba8a36d481e87b61100b0186
|
2019-07-25 19:29:24 +00:00 |
|
dan
|
98d63579be
|
Fix an fts5 segfault that could occur after parsing a corrupt structure record.
FossilOrigin-Name: 600daa9c27206628bf74892376ded35dac11fe0a34894fcd975ad5041a0a0fda
|
2019-05-24 11:55:01 +00:00 |
|
dan
|
36c9301816
|
Add new test file fts5corrupt4.test.
FossilOrigin-Name: 5dfc4fe98a4821cbdbfd7dfddf221b00251b2a26bf58767a3956b64e9a4e92da
|
2019-05-16 16:44:47 +00:00 |
|
dan
|
2a71b17f2f
|
Fix a problem with corrupt db handling in the fts5_vocab module.
FossilOrigin-Name: 456ced57774a92acff23cad975b78ff0e5cbbf5204ea48599fe1761a018a92e4
|
2019-05-14 18:33:58 +00:00 |
|
dan
|
c12655df87
|
Fix an assert() and potential buffer overrun in fts5 that could occur if the database was corrupt.
FossilOrigin-Name: 8be8bd0d562e571b73a93f4ed18258ebd114bbab67ee3cdcd66a4c8f2987f8dc
|
2019-05-14 11:33:09 +00:00 |
|
dan
|
d6712f3638
|
Fix an assert() failure in fts5 that could occur when processing a corrupt database.
FossilOrigin-Name: f158c048be1dc7c80d38787a20495caa55b86416967efd57f4888548d42b4819
|
2019-05-13 11:52:19 +00:00 |
|
dan
|
a27cce76bf
|
Fix a problem in fts5 where a corrupt position list could lead to a buffer overwrite.
FossilOrigin-Name: 516ca8945150bdc1363603e234be5f3f4a3861f581d7cc9455da3e87b9974309
|
2019-04-24 15:57:25 +00:00 |
|
dan
|
189aa7dc96
|
Fix a test script problem in fts5corrupt3.test.
FossilOrigin-Name: 734192d876e0489cb34e454aaa4a9c6858145791a49959b31dee2917a8e41a7d
|
2019-04-15 13:59:08 +00:00 |
|
dan
|
de21ad704a
|
Fix a test script problem in fts5corrupt3.test.
FossilOrigin-Name: 858f62274eb727109d0452ad2d80c0e0acab0f569494b1218c404501e103ed39
|
2019-04-13 16:35:02 +00:00 |
|
drh
|
f6ad201ac2
|
Fixes for harmless compiler warnings.
FossilOrigin-Name: c28c973ad6debd63f13e5d4d3da036f680baaec9d863eda039f2747db9f1cfd5
|
2019-04-13 14:07:57 +00:00 |
|
drh
|
3b574e4ea9
|
Use the 64-bit memory allocator interfaces in extensions, whenever possible.
FossilOrigin-Name: 07ee06fd390bfebebc014b47583d489747b0423bb96c810bed5c605ce0e3be71
|
2019-04-13 04:38:32 +00:00 |
|
dan
|
ce3c3eeda0
|
Fix two assert() statements in fts5 that are only true if the database is not corrupt.
FossilOrigin-Name: edb095a9a679c8c702abd0a487e55ed4b09110b54bcd7d5275020576f2713a39
|
2019-04-06 15:38:46 +00:00 |
|
mistachkin
|
065f3bf4f2
|
Fix various harmless compiler warnings seen with MSVC.
FossilOrigin-Name: 1c0fe5b5763fe5cbace9773dcdab742e126d0bd035ab13d61f9d134afa0afc0c
|
2019-03-20 05:45:03 +00:00 |
|
drh
|
f3e90dd276
|
Fix a compiler warning in FTS5.
FossilOrigin-Name: d5acf3af65f9608d4096b9b78289d84b21cd1ea463457f858ffeb20d5bd5d123
|
2019-03-19 20:13:41 +00:00 |
|
dan
|
d406d07262
|
Fix a buffer overread that could occur when running fts5 prefix queries inside a transaction.
FossilOrigin-Name: b3fa58dd7403dbd4d2e9f3ae23d7d1337830d6fef2aa2f137ac5174de0d5828e
|
2019-03-18 15:49:07 +00:00 |
|
dan
|
b15f19c75e
|
Fix an fts5 problem with interleaving reads and writes in a single transaction.
FossilOrigin-Name: 45c73deb440496e848cb24d4c1326d4105dacfee8bbafb115e567051855e6518
|
2019-03-18 15:23:20 +00:00 |
|
dan
|
f26b145385
|
Verify that fts5 auxiliary functions cannot be used in aggregate queries.
FossilOrigin-Name: 122330dba3eb2492875bd02a46442306f73e251408447af5e5914ee0c8d6a110
|
2019-02-27 15:26:03 +00:00 |
|
dan
|
43a6e4d3df
|
Fix another segfault that could occur in fts5 with a corrupted database.
FossilOrigin-Name: 09e337386beb2008eba969f79601d1b8ed953951ce6e43782586e168140d78d2
|
2019-02-11 16:12:09 +00:00 |
|
dan
|
47a30159e5
|
Fix typos in comments in fts5.h. No changes to code.
FossilOrigin-Name: c19e97bc927074915a3ac8307bf89d30580cf90edd75f4001bcf589b2dfefe58
|
2019-02-11 13:25:33 +00:00 |
|
dan
|
2fa619a3a8
|
Change a few assert() statements in fts3 that might fail if the database is corrupt.
FossilOrigin-Name: db74a56af73d92b7a9d43ceda7e4540915c580c68a0266b4ddefb9e0d5cbcbeb
|
2019-02-09 19:23:54 +00:00 |
|
dan
|
83a635a267
|
Fix problems with SAVEPOINT and related commands within transactions on a corrupt database that include fts5 or some other virtual tables.
FossilOrigin-Name: b0da6e0dd1f9a9ba7646ee6bb3c14945e570303c9a42d20fa8a653570e12c3f9
|
2019-02-04 16:25:40 +00:00 |
|
dan
|
0062ddd4c9
|
Fix another potential buffer overread in fts5.
FossilOrigin-Name: 14fba4cc5db2bc206f024bfa5dd82fffdbc7577162da2c3b15a91cc1c91f3846
|
2019-02-04 14:00:20 +00:00 |
|
dan
|
81f44cdbfb
|
Fix another corruption case in fts5.
FossilOrigin-Name: e608085d3f7e3cc0015fde626e205ee9842ef3cd06dc879fbbc7f2067c592965
|
2019-02-04 11:54:22 +00:00 |
|
dan
|
8f5b14a5c2
|
Fix a buffer overread in fts5 debugging scalar function fts5_decode().
FossilOrigin-Name: 54f2399fb2a626602d405c857297f2da833f9f048cbc478f9110bed2e9bda299
|
2019-02-02 13:47:25 +00:00 |
|
dan
|
1c7d389a23
|
Fix an assert() in fts5 that could fail if the database is corrupt.
FossilOrigin-Name: 55f06aa3f890dc1dc5c2ed0e6777e46d609a6f9d223d1d4b5813097ce4f4e797
|
2019-02-01 14:40:44 +00:00 |
|
dan
|
abd7449478
|
Fix another corrupt-database-handling problem in fts5.
FossilOrigin-Name: 9876ae1b802a449aacbbdd42778653edc19e29315dc627c23ab7493d6492c800
|
2019-02-01 13:34:00 +00:00 |
|
dan
|
b92b019fe3
|
Fix another buffer overrun that could occur when quering a corrupt database using an fts5vocab table.
FossilOrigin-Name: b80119bd6044c0993210115732b6ae7b4b0b29c1471b0723bef24f2052c8e671
|
2019-01-31 14:37:18 +00:00 |
|
dan
|
dd579233e8
|
Fix another buffer overread in fts5 that may occur when accessing a corrupt database.
FossilOrigin-Name: 760d14374d40bcd9ce3a89771c18dc236c9728553c4747c9b7452ee7b24f4140
|
2019-01-30 12:15:27 +00:00 |
|
dan
|
e25646d64c
|
Avoid an integer overflow in the fts5 snippet() function triggered by a corrupt database record.
FossilOrigin-Name: 7c862c4655841e1263cf548d01f5b4331685ab7d396494891cad0a5f50c63e16
|
2019-01-29 16:34:45 +00:00 |
|
dan
|
eb2ed10ec0
|
Avoid a crash when the fts5 snippet() function (or similar) is used with a special query pattern, like '*id' or '*reads'.
FossilOrigin-Name: 9d58a15737f7379fed724749cfd5b4de5b44231870e99fc664683ad483c3e6ba
|
2019-01-29 15:30:03 +00:00 |
|
dan
|
3993397e6c
|
Fix a buffer overrun triggered by a merge operation on a corrupt fts5 database.
FossilOrigin-Name: 7ee3cd5b2cdf8db35f70400b3df58f7c421c78ae77c50f22b0ee22d5a3039429
|
2019-01-29 11:42:43 +00:00 |
|
dan
|
e88609f23e
|
Fix asan warnings in fts5 triggered by corrupt databases - passing NULL to memcmp, out-of-range left-shift values and signed integer overflow.
FossilOrigin-Name: 93f8ec146d63af13f04e337ada4fa75e9254f72b1394df09701ae12e185f27e2
|
2019-01-25 16:54:06 +00:00 |
|
dan
|
f8f47dd8c5
|
Fix another fts5 crash that can occur if the database is corrupted.
FossilOrigin-Name: 44ce8baa47192be03c8f11777904c3c07fa5cc5c97b6d8e81572d380995ac688
|
2019-01-23 19:17:05 +00:00 |
|
dan
|
4c7bdd1597
|
Fix a buffer overwrite triggered by a prefix query on a corrupt fts5 table.
FossilOrigin-Name: 1d8172a94bce2d067027685e5aa1dc8f5d5d55b5da0832ad2836f6939de68c8f
|
2019-01-23 12:19:22 +00:00 |
|
dan
|
ccfa550922
|
Fix a buffer overrun that could occur in fts5 if a prefix query is made on a corrupt database.
FossilOrigin-Name: 1abc4415648e69362061e9f9a4f2c1d419ba33801999b377650d8b9a4d2d3a7c
|
2019-01-22 21:17:40 +00:00 |
|
dan
|
27a037354c
|
Avoid a division-by-zero error in fts5 caused by a corrupt database.
FossilOrigin-Name: 928e622178bd004be52b2271ac554176aebe9d6e115ecac4e7072eccbb4262b5
|
2019-01-19 15:55:27 +00:00 |
|
dan
|
6e0a75a2b8
|
Fix a crash in the fts5vocab module caused by including a "term < NULL" term
in a WHERE clause.
FossilOrigin-Name: 9e717c4377c0116a5d36815fbc30f8b8803f14770d30be361feb27cc5b5b537b
|
2019-01-18 21:12:32 +00:00 |
|
dan
|
a86b20820d
|
Fix an infinite loop caused by a corrupt database in fts3. Also an undefined
left-shift in fts5.
FossilOrigin-Name: 55c5d72af9510e2f27c33544d804a58d4282b0efb384ead38484129ce91b574f
|
2019-01-18 21:03:15 +00:00 |
|
dan
|
4c1c79035f
|
Avoid passing a NULL pointer to memcpy in fts5, even if the database is corrupt.
FossilOrigin-Name: acccc9808f52009b2c7794770c8b7efe2ce861fa184d32e287e7114c74e2b522
|
2019-01-18 20:15:02 +00:00 |
|
dan
|
934d4f7bac
|
Fix another corruption related crash in fts5.
FossilOrigin-Name: 4538d9afe4e6360e20c7b474e77314e5ad293453e1edbe356bf6ea84c05857ee
|
2019-01-17 20:06:56 +00:00 |
|
dan
|
f66da6ce8e
|
Fix a buffer overwrite that could occur when running an fts5 prefix query
against a corrupt database.
FossilOrigin-Name: 3910b5639d5c96d1840d4feeea64d3a55073531b7365a4e75d9cda6f119f3cfc
|
2019-01-17 19:11:10 +00:00 |
|
dan
|
25fb50674f
|
Fix problems with joining two or more fts5_vocab tables that access the same
underlying fts5 table.
FossilOrigin-Name: 49956395e14b61f6bf839e59ae7dd95eb32ebf32f3d16388844de6621b9c2d98
|
2019-01-17 17:39:15 +00:00 |
|
dan
|
1a39d2bb5c
|
Handle SQL NULL values without crashing in the fts5 snippet() and highlight()
functions.
FossilOrigin-Name: a5e9cc794f17566160c4b2b5791601a744a21ace987b19ff8a5816fd78dce56a
|
2019-01-15 18:14:27 +00:00 |
|
dan
|
2d4e720579
|
Have fts5 reject attempts to insert a non-integer, non-null value into a rowid
column with SQLITE_MISMATCH.
FossilOrigin-Name: 4a9483f81e9ca1aa41d6ca33cb3171370418ccc71fdee9741bbf6f694bf4fbaa
|
2019-01-15 15:18:58 +00:00 |
|
dan
|
f8a488bb6b
|
Fix a problem causing a crash if an fts5vocab table was created to query an
fts3/4 FTS index.
FossilOrigin-Name: 9cd64ce453e4435d80117b8610c22a0a4b53cd6e84b39815e70e684f6b0295c8
|
2019-01-14 15:35:15 +00:00 |
|
dan
|
951d165125
|
Fix another problem with handling corrupt records in fts5_decode().
FossilOrigin-Name: 726e398b9ddc15ea1b67c40e2a12ddf5d04428a866699588c5fa1af75af846e1
|
2019-01-12 20:55:36 +00:00 |
|
drh
|
5d4589014a
|
Improved detection of shadow table corruption in the fts5_decode() SQL function.
FossilOrigin-Name: b74e5f3f3057ee7a98ebcb14ca0751048eacbec8fca3e11e241883029a57ecdf
|
2019-01-12 00:45:20 +00:00 |
|
dan
|
0ad63e5e0c
|
Fix another problem with corrupt databases in fts5.
FossilOrigin-Name: 9bf811ea89a133d481a86407683a7518e909eccb7aa3aa02f7932bdb33387572
|
2019-01-11 19:27:55 +00:00 |
|
dan
|
6ca98ad6b1
|
Fix a memory leak in fts5 that could occur if scalar function fts5_decode()
was passed a corrupt record.
FossilOrigin-Name: 240f1c0c92cad8a1c19438b38489aedb831f62a4603c53f22367e876d8f644ff
|
2019-01-10 19:26:52 +00:00 |
|
dan
|
f7d687c9d3
|
Fix a memory leak in fts5.
FossilOrigin-Name: ff3b011f17f4f02e486f3c8de607f62eddf3b86562e2df82dba57ea166994b65
|
2019-01-10 18:35:09 +00:00 |
|
dan
|
25e3073741
|
Avoid use-after-free and double-free errors that could occur if an fts5 table
is modified in certain ways while there are active cursors.
FossilOrigin-Name: 3291b2a6fe6f38ae91b933e5cd2bf7d97432374b4fb1fccd92b4bd759b02ee06
|
2019-01-10 17:08:20 +00:00 |
|
dan
|
c80864d77a
|
Fix further problems with fts5 handling corrupt databases.
FossilOrigin-Name: 83c467d7af63bd2e7800aff4fe9b09dbd75557460b75a9e07205dfae7e28312c
|
2019-01-10 15:17:32 +00:00 |
|
dan
|
a47e45f734
|
Fix an out-of-bounds read in SQL function fts5_decode() that could occur if it
was passed a corrupt record.
FossilOrigin-Name: 931278b257b12ac14fc8fbc82c6dc88ce4ac4b8e0d668543e68f0289d825daa1
|
2019-01-09 21:12:23 +00:00 |
|
drh
|
2d77d80a65
|
Use 64-bit math to compute the sizes of memory allocations in extensions.
FossilOrigin-Name: ca67f2ec0e294384c397db438605df1b47aae5f348a8de94f97286997625d169
|
2019-01-08 20:02:48 +00:00 |
|
dan
|
174c21ff06
|
Fix further problems with fts5 and corrupt databases causing integer overflow.
FossilOrigin-Name: 673a7dd698eca05bb2909fa01f962a0667361732a6d0e61cf7780ead4a07c967
|
2019-01-08 08:02:12 +00:00 |
|
dan
|
d9d7d253fc
|
Fix another potential buffer overread in fts5.
FossilOrigin-Name: d0e943d9574c7cab1af4a0fe753a0b5f91ea0e884b91a85b13239144b71f067c
|
2019-01-07 16:52:00 +00:00 |
|
dan
|
c210c08891
|
Fix two more problems with corrupt database handling in fts5.
FossilOrigin-Name: 444c7c99beb9f8b82963e9784aa2be54124c7011f4771122b4f608c02aa26408
|
2019-01-05 07:17:56 +00:00 |
|
dan
|
2f36262dbf
|
Fix another fts5 assert() that may fail if the database is corrupt.
FossilOrigin-Name: 0888fc2e881d56ccd5222383d1a08cdf16fbd15c40da7ebfc14346be69ffb26a
|
2019-01-04 11:20:14 +00:00 |
|
dan
|
e9ad07c0a3
|
Fix some problems with sqlite3_interrupt() handling in fts5.
FossilOrigin-Name: c0eb839a3c23612b93002d2e1fbc41bf5db140775267989f85db52146144750b
|
2019-01-03 19:12:21 +00:00 |
|
drh
|
8fc4a11c94
|
Fix harmless compiler warnings in the unicode2 logic of FTS3 and FTS5.
FossilOrigin-Name: 703029ac6d24860230a8c30fcbf5e7e1da619e84f1cc9b9e65ebc74879a184d2
|
2019-01-02 23:49:47 +00:00 |
|
dan
|
9b0da8319c
|
Fix another fts5 problem caused by a corrupt database.
FossilOrigin-Name: 911342f7512145a8a189bb0ec59e70e4c9ddc9f20f3e84816ab25139ead5dc45
|
2019-01-01 19:17:42 +00:00 |
|
dan
|
fff1dc8e05
|
Fix another case in fts5 where a corrupt database could cause a buffer
overread.
FossilOrigin-Name: f7e6cdc5625664f449d0edbe39af2d45910c4137bfd856ae1f770dd826c138ff
|
2019-01-01 13:59:34 +00:00 |
|
drh
|
f9231c34eb
|
Fix harmless compiler warnings.
FossilOrigin-Name: b57c545a384ab5d62becf3164945b32b1e108b2fb4c8dbd939a1706c2079e18b
|
2018-12-31 21:43:55 +00:00 |
|
dan
|
4177c8a2b7
|
Fix another problem with loading the structure record from a corrupt fts5
database.
FossilOrigin-Name: c4d44542d259bbec11aea60ae94fcb4acd53e97e125723cae078cf0f8873f8ef
|
2018-12-28 18:09:45 +00:00 |
|
dan
|
eefc72d12f
|
Avoid an undefined left-shift operation in fts5 caused by malformed utf-8
text.
FossilOrigin-Name: c3a3a11194586bef80a9d7ca54caae8af30d4e7b464b8bb3d257ba2d2ec4791f
|
2018-12-28 14:33:55 +00:00 |
|
dan
|
666636b6de
|
Fix a buffer overwrite in fts5 triggered by a corrupt database.
FossilOrigin-Name: a385298df264dbfa6765f63ad8708f74bc8e8a1404239c1049890b39a1bda888
|
2018-12-28 13:57:30 +00:00 |
|
dan
|
b163b57212
|
Fix problems in fts5 found by ASAN.
FossilOrigin-Name: c564bf870106faef297594a51995619c80311d06bd5f8a0c7644f666f22ba576
|
2018-12-28 07:37:22 +00:00 |
|
dan
|
593c716781
|
Fix another problem with corrupt database handling in fts5.
FossilOrigin-Name: fb0d7fba07865ff557bfcdacfda7b625d099ac8b4dcbe0c08cd2d4b84a068bb9
|
2018-12-27 20:12:02 +00:00 |
|
dan
|
e80834f6ff
|
Fix another problem in fts5 caused by a corrupt schema record.
FossilOrigin-Name: ff45f9dd69fe1e1c7875e5bb73ac3dde2a31746475d3765cda9233f8e06e26ca
|
2018-12-27 15:36:16 +00:00 |
|
dan
|
cd80dc3667
|
Fix a null-pointer dereference that could occur in fts5 with a corrupt
database.
FossilOrigin-Name: b0a49d5e6df116bb5eacb60a0bb0f482760aec38bd417d4250d9e57d43bdbb13
|
2018-12-27 07:46:37 +00:00 |
|