SQLite

All files named ”test/corruptI.test”
Login

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

History for test/corruptI.test

2023-04-02
16:43
[9d8cbf6214] part of check-in [978dc71c38] Earlier detection of corruption in sqlite3BtreeDelete(). dbsqlfuzz a4c48c291d6e40157a1b749a05eaa7c7faf5a625. (check-in: [978dc71c38] user: drh branch: trunk, size: 7079)
2018-11-07
02:17
[a17bbf54fd] part of check-in [3212733cb6] Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test cases so that they work with DEFENSIVE enabled. (check-in: [3212733cb6] user: drh branch: read-only-shadow, size: 7154)
2016-03-14
17:05
[075fe1d75a] part of check-in [d866fffb8b] Many test cases fixed to work with encryption. (check-in: [d866fffb8b] user: drh branch: see-testing, size: 7121)
2016-02-05
16:46
[347babbf97] part of check-in [a6b3527323] From test scripts, remove stray "breakpoint" commands and blank lines at the ends of files. (check-in: [a6b3527323] user: drh branch: trunk, size: 7133)
2015-06-19
20:08
[f2b10e4fec] part of check-in [3189116b42] Fix corner cases involving corrupt varint values in record headers. (check-in: [3189116b42] user: drh branch: btree-opt, size: 7146)
2015-05-26
14:57
[ddf8c7146d] part of check-in [22a1466378] Update test cases in corruptI.test so that they work with both SQLITE_ENABLE_OVERSIZE_CELL_CHECK and SQLITE_DEFAULT_AUTOVACUUM builds. (check-in: [22a1466378] user: dan branch: trunk, size: 7146)
12:18
[61e2a589a2] part of check-in [68876003f9] Return SQLITE_CORRUPT to the user if an attempt is made to add database page 1 to the free page list. (check-in: [68876003f9] user: dan branch: trunk, size: 6962)
2015-05-25
19:24
[79fd060a42] part of check-in [aa18c8e9d1] Have the b-tree layer return SQLITE_CORRUPT to any attempt to open a cursor with a root page number less than 1. (check-in: [aa18c8e9d1] user: dan branch: trunk, size: 6315)
18:47
[bcb2aa4e7d] part of check-in [8fa0937a2f] Fix a couple of btree asserts that would fail when encountering 32-bit rollover in cell payload size fields (cell payloads this large always indicate corruption). (check-in: [8fa0937a2f] user: dan branch: trunk, size: 5627)
17:07
[bd6986db57] part of check-in [97806a7814] Fix a case where database corruption may cause SQLite to write past the end of a buffer. (check-in: [97806a7814] user: dan branch: trunk, size: 5028)
15:03
[08048e8f27] part of check-in [00a473c561] Fix an assert() in btree routine freeSpace() that may be false if the database is corrupt. (check-in: [00a473c561] user: dan branch: trunk, size: 3566)
2014-10-07
20:09
[221ad8b7f0] part of check-in [e405b9e4a9] Fix the corruptI.test script so that it works with SQLITE_ENABLE_OVERSIZE_CELL_CHECK and with SQLITE_DEFAULT_AUTOVACUUM=1. (check-in: [e405b9e4a9] user: drh branch: trunk, size: 2893)
2014-08-14
19:53
[0afbba50bf] part of check-in [3f45b8192d] Fix an assert that can fail if the database file is corrupted. (check-in: [3f45b8192d] user: dan branch: trunk, size: 2587)
2014-03-28
03:12
[b3e4203d42] part of check-in [7fa85eaaaf] Enhance the sqlite3VdbeRecordCompare() routines so that if they encounter database corruption, they will set the UnpackedRecord.isCorrupt field and return 0. The sqlite3BtreeMovetoUnpacked() routine detects this and returns SQLITE_CORRUPT, causing the corruption to be reported back to the top-level. (check-in: [7fa85eaaaf] user: drh branch: trunk, size: 2009)
2014-03-26
15:14
[1b796461e5] part of check-in [f585f5d7a0] Add an extra test case for the potential buffer overread patched by [28ddecff04]. (check-in: [f585f5d7a0] user: dan branch: trunk, size: 1977)
15:05
[487e9e5eac] part of check-in [2b28e8d582] Add a test case to verify that the previous change avoids excess buffer overread in sqlite3VdbeRecordCompare(). (check-in: [2b28e8d582] user: drh branch: trunk, size: 1386)
14:51
[645794bfc0] part of check-in [28ddecff04] Earlier detection of corruption in sqlite3VdbeRecordCompare() in order to avoid a potential buffer overread. (check-in: [28ddecff04] user: drh branch: trunk, size: 1126)
2014-03-05
11:22
[88886ec9cd] part of check-in [378b290da8] Do not run corruptI.test with the mmap permutation. (check-in: [378b290da8] user: dan branch: trunk, size: 1174)
2014-03-03
20:48
Added: [d9eca60cb3] part of check-in [7c0b4381f0] Avoid a buffer overread in vdbeCompareRecordInt() that might occur if the database is corrupt. (check-in: [7c0b4381f0] user: dan branch: experimental, size: 1119)