dan
|
7ef4d75bd2
|
Fix a case in fts5 where a corrupt database could cause a crash.
FossilOrigin-Name: 5e95df261cce275adb5b2226e9584f4c389bb0d53c3b4feafd5a14be8d02ce63
|
2022-03-11 12:02:18 +00:00 |
|
dan
|
cc516af4cc
|
Instead of disallowing writes to fts5 tables if there are fts5vocab cursors open on them (commit [c49a6ed7]), abort any fts5vocab queries if the on-disk structure of the fts5 table changes.
FossilOrigin-Name: 9dbdc9001e3258e71ca995fbcdebf66ab95890ded87fa7125c6cb4bd43010aaf
|
2021-07-07 11:51:03 +00:00 |
|
dan
|
b9324fea07
|
Do not allow writes to an fts5 table if there are any open fts5vocab cursors.
FossilOrigin-Name: c49a6ed78a917d4972e048e2a9bbe4d400691f97ce7e022f0e4436ceaed7fb73
|
2021-07-05 19:01:09 +00:00 |
|
dan
|
c629e21786
|
Fix an assert() in fts5 that might fail when dealing with corrupt records.
FossilOrigin-Name: 9e760e256089c0ebbf816a8de8b186f62e1ffcd6b8b0e76dab8387798cd4d0e1
|
2021-06-30 12:11:19 +00:00 |
|
dan
|
8d2a9c3b3a
|
Add defensive code to better handle corrupt records in fts5.
FossilOrigin-Name: a99c29b5efaf17e34506cda5ce017ec0112b3cb24bf8a2f1831f0c14a8aa8d30
|
2021-06-09 13:39:11 +00:00 |
|
dan
|
bc85a51595
|
Fix a buffer overread that could occur in fts5 when handling corrupt records.
FossilOrigin-Name: 078962a2164a784b135bacee51ef10973dc2e30de04353d48698d0e72edd63d8
|
2021-06-07 17:36:57 +00:00 |
|
dan
|
a4cd0bbcb3
|
Fix a segfault that could occur when querying a corrupt data structures with an fts5token table.
FossilOrigin-Name: cbedfa05501f3eb9750fb21e2ab8516f8f14c479c847f454e52572af278aab71
|
2021-04-27 11:28:57 +00:00 |
|
dan
|
f3d5a68461
|
Fix an assert() in fts5_index.c that may fail if the database records are corrupt.
FossilOrigin-Name: dfadb96edfef1d49e48a659264b9eb8d7f98d95d159d95c92c30dd4ba6c6e739
|
2021-04-23 11:37:01 +00:00 |
|
dan
|
8718f0b613
|
Fix a buffer overrun that could occur in fts5 when running a prefix query against a corrupt db.
FossilOrigin-Name: 4da40620ac8557aba6e1e06e720418b55e9950f406288b03749ef1b117041cd9
|
2021-03-03 19:36:40 +00:00 |
|
dan
|
5763f3d582
|
Fix a broken assert() in fts5 that could be triggered by corrupt database records.
FossilOrigin-Name: b79f59f9ad897d5bd4b9d17e6219bc765b02450bfe14dc020485f221ba6b02cb
|
2020-12-19 15:39:10 +00:00 |
|
dan
|
84b168ffa7
|
Change an fts5 assert() that can be triggered by a corrupt database to an if() condition.
FossilOrigin-Name: ea0a7f103a6f6a9e57d7377140ff9f372bf2b156f86f148291fb05a7030f2b36
|
2020-12-15 13:55:38 +00:00 |
|
dan
|
b9ceb833f7
|
Ensure that fts5 function matchinfo() is registered before running tests that use it in fts5corrupt3.test.
FossilOrigin-Name: 932e05e093192991589e70c2cbcc8a57fb3dcc6df1c2673962bfd06ba5cfdd97
|
2020-12-04 16:49:25 +00:00 |
|
dan
|
3190b88e75
|
When merging prefix lists in fts5, use 16-way merges instead of 2-way merges. This faster.
FossilOrigin-Name: 026a93508ec392ca5cd2578ae9eab64974f58beccda088e10d4cc951f237632f
|
2020-12-03 21:22:37 +00:00 |
|
dan
|
1c5b23f170
|
Fix a case in the FTS5 integrity check where a corrupt database could cause a buffer overread.
FossilOrigin-Name: a32b4f650d2d543bd2773cbc8655c1679a20b35ac9ec4d08c7754ddf6d972acb
|
2020-11-27 15:28:26 +00:00 |
|
dan
|
3acd3fb9d8
|
Fix a "jump depends on unitialized value" valgrind/asan error in fts5.
FossilOrigin-Name: 66f94d623c16b4527e42f0519e32ec78eaf9ee6fd61ee7d0eb657cc59a8f7d68
|
2020-09-17 14:16:02 +00:00 |
|
dan
|
86f477edaa
|
Catch fts5 index corruption caused by issuing 'delete' commands with incorrect data earlier in some cases. Also fix a couple of test script problems.
FossilOrigin-Name: b79f19edfd33c2a75f936c352668e14e81f35acf4f07edc27a21f941a7304b38
|
2020-09-11 15:01:49 +00:00 |
|
dan
|
bbc9e1908a
|
Fix an integer overflow bug in fts5 triggered by a corrupt record.
FossilOrigin-Name: 49da8bdce17ced910b414d50e8df79800513dcf03a196197dc1ea8e47deeda92
|
2020-07-13 11:06:30 +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
|
7e88d6364c
|
Fix a memory leak in fts5 error handling code.
FossilOrigin-Name: de6637e15d95b7aee2caea8b8d5b9865f276cbbf152ecf0401c4c7bfdf6dee6f
|
2019-11-23 08:36:35 +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
|
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 |
|
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
|
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
|
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 |
|
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 |
|
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
|
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 |
|