/ All files named "ext/fts5/test/fts5corrupt3.test"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for ext/fts5/test/fts5corrupt3.test

2020-09-17
14:16
[b8d4d6f1] part of check-in [66f94d62] Fix a "jump depends on unitialized value" valgrind/asan error in fts5. (check-in: [66f94d62] user: dan branch: trunk, size: 765383)
2020-09-11
15:01
[4f5b2f27] part of check-in [b79f19ed] Catch fts5 index corruption caused by issuing 'delete' commands with incorrect data earlier in some cases. Also fix a couple of test script problems. (check-in: [b79f19ed] user: dan branch: trunk, size: 758650)
2020-07-29
16:18
[75a161cc] part of check-in [a80ae2c9] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c9] user: drh branch: typos, size: 758632)
2020-07-13
11:06
[7afe0fea] part of check-in [49da8bdc] Fix an integer overflow bug in fts5 triggered by a corrupt record. (check-in: [49da8bdc] user: dan branch: trunk, size: 758633)
2019-12-24
15:35
[fab4ea76] part of check-in [4630c1ec] Fix an assert() added as part of commit [a11b393dc] that can fail if fts5 database records are corrupt. (check-in: [4630c1ec] user: dan branch: trunk, size: 743181)
2019-11-23
08:36
[5aaa2f8b] part of check-in [de6637e1] Fix a memory leak in fts5 error handling code. (check-in: [de6637e1] user: dan branch: trunk, size: 727353)
2019-10-07
20:36
[4100ac39] part of check-in [8ab0aebd] 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]. (check-in: [8ab0aebd] user: dan branch: trunk, size: 719952)
2019-09-18
11:46
[e188a43c] part of check-in [6b6751cd] Fix a "jump depends on unititialized value" valgrind error in fts5 triggered by corrupt database records. (check-in: [6b6751cd] user: dan branch: trunk, size: 719984)
2019-08-29
14:25
[f326d70e] part of check-in [c465d0eb] Fix a potential buffer overrun in fts5 caused by corrupted database records. (check-in: [c465d0eb] user: dan branch: trunk, size: 714917)
2019-08-24
17:11
[1e0a557a] part of check-in [156d6128] Fix a potential buffer overrun in fts5 caused by corrupt database records. (check-in: [156d6128] user: dan branch: trunk, size: 700224)
2019-08-20
19:11
[99318789] part of check-in [00e9a8f2] Fix a problem with fts5 "ORDER BY rank" queries when the fts5 table name requires quoting. (check-in: [00e9a8f2] user: dan branch: trunk, size: 691666)
2019-07-25
19:29
[1f36c04f] part of check-in [16472112] Fix a potential buffer overread in fts5 triggered by a corrupt database record. (check-in: [16472112] user: dan branch: trunk, size: 691432)
2019-05-24
11:55
[ee32b76e] part of check-in [600daa9c] Fix an fts5 segfault that could occur after parsing a corrupt structure record. (check-in: [600daa9c] user: dan branch: trunk, size: 676919)
2019-05-14
18:33
[9f64bc23] part of check-in [456ced57] Fix a problem with corrupt db handling in the fts5_vocab module. (check-in: [456ced57] user: dan branch: trunk, size: 662216)
11:33
[f39c345e] part of check-in [8be8bd0d] Fix an assert() and potential buffer overrun in fts5 that could occur if the database was corrupt. (check-in: [8be8bd0d] user: dan branch: trunk, size: 647714)
2019-05-13
11:52
[954042e7] part of check-in [f158c048] Fix an assert() failure in fts5 that could occur when processing a corrupt database. (check-in: [f158c048] user: dan branch: trunk, size: 632869)
2019-04-24
15:57
[fcf79639] part of check-in [516ca894] Fix a problem in fts5 where a corrupt position list could lead to a buffer overwrite. (check-in: [516ca894] user: dan branch: trunk, size: 618273)
2019-04-15
13:59
[d3a07e6f] part of check-in [734192d8] Fix a test script problem in fts5corrupt3.test. (check-in: [734192d8] user: dan branch: trunk, size: 603186)
2019-04-13
16:35
[a5bca430] part of check-in [858f6227] Fix a test script problem in fts5corrupt3.test. (check-in: [858f6227] user: dan branch: trunk, size: 603176)
2019-04-06
15:38
[db13dbca] part of check-in [edb095a9] Fix two assert() statements in fts5 that are only true if the database is not corrupt. (check-in: [edb095a9] user: dan branch: trunk, size: 602764)
2019-02-11
16:12
[f87317fa] part of check-in [09e33738] Fix another segfault that could occur in fts5 with a corrupted database. (check-in: [09e33738] user: dan branch: trunk, size: 594755)
2019-02-09
19:23
[1e57f812] part of check-in [db74a56a] Change a few assert() statements in fts3 that might fail if the database is corrupt. (check-in: [db74a56a] user: dan branch: trunk, size: 579045)
2019-02-04
16:25
[4c506a13] part of check-in [b0da6e0d] Fix problems with SAVEPOINT and related commands within transactions on a corrupt database that include fts5 or some other virtual tables. (check-in: [b0da6e0d] user: dan branch: trunk, size: 579044)
14:00
[a2607431] part of check-in [14fba4cc] Fix another potential buffer overread in fts5. (check-in: [14fba4cc] user: dan branch: trunk, size: 563356)
11:54
[182b3092] part of check-in [e608085d] Fix another corruption case in fts5. (check-in: [e608085d] user: dan branch: trunk, size: 547744)
2019-02-02
13:47
[eea623d9] part of check-in [54f2399f] Fix a buffer overread in fts5 debugging scalar function fts5_decode(). (check-in: [54f2399f] user: dan branch: trunk, size: 532081)
2019-02-01
14:40
[760c93a2] part of check-in [55f06aa3] Fix an assert() in fts5 that could fail if the database is corrupt. (check-in: [55f06aa3] user: dan branch: trunk, size: 521419)
13:34
[42fbf72c] part of check-in [9876ae1b] Fix another corrupt-database-handling problem in fts5. (check-in: [9876ae1b] user: dan branch: trunk, size: 466340)
2019-01-31
14:37
[08792647] part of check-in [b80119bd] Fix another buffer overrun that could occur when quering a corrupt database using an fts5vocab table. (check-in: [b80119bd] user: dan branch: trunk, size: 457385)
2019-01-30
12:15
[e2f48a96] part of check-in [760d1437] Fix another buffer overread in fts5 that may occur when accessing a corrupt database. (check-in: [760d1437] user: dan branch: trunk, size: 448461)
2019-01-29
16:34
[62e5b908] part of check-in [7c862c46] Avoid an integer overflow in the fts5 snippet() function triggered by a corrupt database record. (check-in: [7c862c46] user: dan branch: trunk, size: 432705)
15:30
[51649ad2] part of check-in [9d58a157] Avoid a crash when the fts5 snippet() function (or similar) is used with a special query pattern, like '*id' or '*reads'. (check-in: [9d58a157] user: dan branch: trunk, size: 422017)
11:42
[f5aa3e10] part of check-in [7ee3cd5b] Fix a buffer overrun triggered by a merge operation on a corrupt fts5 database. (check-in: [7ee3cd5b] user: dan branch: trunk, size: 406285)
2019-01-25
16:54
[dbc78ab3] part of check-in [93f8ec14] Fix asan warnings in fts5 triggered by corrupt databases - passing NULL to memcmp, out-of-range left-shift values and signed integer overflow. (check-in: [93f8ec14] user: dan branch: trunk, size: 389986)
2019-01-23
19:17
[0ca5b954] part of check-in [44ce8baa] Fix another fts5 crash that can occur if the database is corrupted. (check-in: [44ce8baa] user: dan branch: trunk, size: 353967)
12:19
[b86d644c] part of check-in [1d8172a9] Fix a buffer overwrite triggered by a prefix query on a corrupt fts5 table. (check-in: [1d8172a9] user: dan branch: trunk, size: 336671)
2019-01-22
21:17
[1bdb1c68] part of check-in [1abc4415] Fix a buffer overrun that could occur in fts5 if a prefix query is made on a corrupt database. (check-in: [1abc4415] user: dan branch: trunk, size: 321085)
2019-01-19
15:55
[b9ca1b79] part of check-in [928e6221] Avoid a division-by-zero error in fts5 caused by a corrupt database. (check-in: [928e6221] user: dan branch: trunk, size: 305314)
2019-01-18
21:03
[44c0cb3c] part of check-in [55c5d72a] Fix an infinite loop caused by a corrupt database in fts3. Also an undefined left-shift in fts5. (check-in: [55c5d72a] user: dan branch: trunk, size: 304617)
20:15
[ee4d73da] part of check-in [acccc980] Avoid passing a NULL pointer to memcpy in fts5, even if the database is corrupt. (check-in: [acccc980] user: dan branch: trunk, size: 304213)
2019-01-17
20:06
[806be097] part of check-in [4538d9af] Fix another corruption related crash in fts5. (check-in: [4538d9af] user: dan branch: trunk, size: 293656)
19:11
[f9d02f7d] part of check-in [3910b563] Fix a buffer overwrite that could occur when running an fts5 prefix query against a corrupt database. (check-in: [3910b563] user: dan branch: trunk, size: 277506)
2019-01-12
20:55
[7a4112d9] part of check-in [726e398b] Fix another problem with handling corrupt records in fts5_decode(). (check-in: [726e398b] user: dan branch: trunk, size: 261759)
2019-01-11
19:27
[0154d077] part of check-in [9bf811ea] Fix another problem with corrupt databases in fts5. (check-in: [9bf811ea] user: dan branch: trunk, size: 252725)
2019-01-10
19:26
[94efe10c] part of check-in [240f1c0c] Fix a memory leak in fts5 that could occur if scalar function fts5_decode() was passed a corrupt record. (check-in: [240f1c0c] user: dan branch: trunk, size: 238843)
17:08
[87c1289b] part of check-in [3291b2a6] 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. (check-in: [3291b2a6] user: dan branch: trunk, size: 227757)
15:17
[c50be432] part of check-in [83c467d7] Fix further problems with fts5 handling corrupt databases. (check-in: [83c467d7] user: dan branch: trunk, size: 226213)
2019-01-09
21:12
[4edf6bb9] part of check-in [931278b2] Fix an out-of-bounds read in SQL function fts5_decode() that could occur if it was passed a corrupt record. (check-in: [931278b2] user: dan branch: trunk, size: 201876)
2019-01-08
08:02
[2cec78e6] part of check-in [673a7dd6] Fix further problems with fts5 and corrupt databases causing integer overflow. (check-in: [673a7dd6] user: dan branch: trunk, size: 191259)
2019-01-07
16:52
[8e882b0f] part of check-in [d0e943d9] Fix another potential buffer overread in fts5. (check-in: [d0e943d9] user: dan branch: trunk, size: 177283)
2019-01-05
07:17
[bfe27d9e] part of check-in [444c7c99] Fix two more problems with corrupt database handling in fts5. (check-in: [444c7c99] user: dan branch: trunk, size: 155908)
2019-01-04
11:20
[45a1af5c] part of check-in [0888fc2e] Fix another fts5 assert() that may fail if the database is corrupt. (check-in: [0888fc2e] user: dan branch: trunk, size: 134496)
2019-01-01
19:17
[dc1c1c28] part of check-in [911342f7] Fix another fts5 problem caused by a corrupt database. (check-in: [911342f7] user: dan branch: trunk, size: 127019)
13:59
[65d29d02] part of check-in [f7e6cdc5] Fix another case in fts5 where a corrupt database could cause a buffer overread. (check-in: [f7e6cdc5] user: dan branch: trunk, size: 102372)
2018-12-28
18:09
[b6e0cbad] part of check-in [c4d44542] Fix another problem with loading the structure record from a corrupt fts5 database. (check-in: [c4d44542] user: dan branch: trunk, size: 93124)
13:57
[fea87e8e] part of check-in [a385298d] Fix a buffer overwrite in fts5 triggered by a corrupt database. (check-in: [a385298d] user: dan branch: trunk, size: 87692)
2018-12-27
20:12
[bdcd8bc2] part of check-in [fb0d7fba] Fix another problem with corrupt database handling in fts5. (check-in: [fb0d7fba] user: dan branch: trunk, size: 80215)
15:36
[c2bb1a62] part of check-in [ff45f9dd] Fix another problem in fts5 caused by a corrupt schema record. (check-in: [ff45f9dd] user: dan branch: trunk, size: 57493)
07:46
[c6048b9a] part of check-in [b0a49d5e] Fix a null-pointer dereference that could occur in fts5 with a corrupt database. (check-in: [b0a49d5e] user: dan branch: trunk, size: 51942)
2018-12-26
16:04
[2f765292] part of check-in [9bad745d] Fix a problem with handling corrupt databases in the fts5 integrity-check function. (check-in: [9bad745d] user: dan branch: trunk, size: 46782)
2018-12-24
19:59
[0493c849] part of check-in [d9653380] Change another fts5 assert() that may fail with a corrupt database to an assert_nc(). (check-in: [d9653380] user: dan branch: trunk, size: 41211)
2018-12-22
19:54
[0a94ebcb] part of check-in [fb17fea4] Catch another case of a corrupted structure record in fts5. (check-in: [fb17fea4] user: dan branch: trunk, size: 34340)
19:09
[c949da53] part of check-in [1daaba9f] Change a faulty assert() in fts5 that could fail on a corrupt db to an if() statement. (check-in: [1daaba9f] user: dan branch: trunk, size: 29129)
15:21
[6ef4a6dc] part of check-in [83935b95] Fix an assert() in fts5 that could fail with a corrupt database. (check-in: [83935b95] user: dan branch: trunk, size: 23852)
13:34
[eb9df88d] part of check-in [3518c09b] Fix a "jump or move depends on uninitialized value" valgrind error that could occur in fts5 when dealing with a corrupt database. (check-in: [3518c09b] user: dan branch: trunk, size: 17363)
2018-11-06
19:26
[ff9aee40] part of check-in [a1d6c671] Enable DEFENSIVE mode by default for tests. This requires lots of case of turning DEFENSIVE off in order to dodgy things to the database for testing purposes. No all of those cases are yet handled, so "make test" does not run to completion. (check-in: [a1d6c671] user: drh branch: read-only-shadow, size: 11863)
2017-07-07
19:43
[1b489101] part of check-in [732f90d6] Change the error message text for SQLITE_ERROR to omit the part about "missing database" as that meaning is now obsolete (since approx SQLite 2.0). (check-in: [732f90d6] user: drh branch: trunk, size: 11564)
2016-03-16
19:48
[f77f65e3] part of check-in [33ef2210] Have fts5 cache the decoded structure of fts5 indexes in memory. Use "PRAGMA data_version" to detect stale caches. (check-in: [33ef2210] user: dan branch: fts5-data-version, size: 11565)
2016-02-11
18:08
[b9558d5b] part of check-in [facbc424] Avoid a buffer overread when reading a corrupt fts5 structure record. (check-in: [facbc424] user: dan branch: trunk, size: 11531)
2015-10-14
21:08
[a2b537c1] part of check-in [f4de6d45] Tests and minor fixes to improve coverage of FTS5 code. (check-in: [f4de6d45] user: dan branch: trunk, size: 10422)
2015-09-15
14:39
[a1429635] part of check-in [1d018c35] Add test cases to cover fts5 integrity-check code. (check-in: [1d018c35] user: dan branch: trunk, size: 9514)
2015-09-14
19:51
[618a965b] part of check-in [c1f76686] Improve test coverage of fts5_index.c. (check-in: [c1f76686] user: dan branch: trunk, size: 6879)
2015-06-25
20:36
[1ccf575f] part of check-in [31752207] Fix Makefile.in to account for recent changes. Update fts5 test scripts so that they do not run if SQLITE_ENABLE_FTS5 is not defined. (check-in: [31752207] user: dan branch: fts5, size: 2359)
2015-05-18
20:34
[da4e2adb] part of check-in [4dfe2e58] Improve test coverage of fts5_storage.c. (check-in: [4dfe2e58] user: dan branch: fts5, size: 2263)
2015-05-15
18:13
Added: [fe42c0ce] part of check-in [7aea8c6d] Improve test coverage of fts5_index.c. (check-in: [7aea8c6d] user: dan branch: fts5, size: 1677)