/ File History
Login

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

History of ext/fts5/test/fts5corrupt3.test

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