mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Improved detection of corruption in the interior nodes of a segment btree
in FTS3/4. FossilOrigin-Name: cc99447ac923166104e8a7c75088ed95279f4491b30cfa37dc3ee5e005dd9fac
This commit is contained in:
@ -181,4 +181,16 @@ do_catchsql_test 6.10 {
|
||||
INSERT INTO f(f) VALUES ("merge=1");
|
||||
} {1 {database disk image is malformed}}
|
||||
|
||||
# 2020-03-02 https://bugs.chromium.org/p/chromium/issues/detail?id=1057441
|
||||
# The ticket complains of use of an uninitialized value. That part is harmless.
|
||||
# The only reason to fix this is the failure to detect a subtly corrupt
|
||||
# inverted index.
|
||||
#
|
||||
reset_db
|
||||
do_catchsql_test 7.10 {
|
||||
CREATE VIRTUAL TABLE f USING fts3(a,b);
|
||||
INSERT INTO f_segdir VALUES (0,0,1,0,'0 0',x'01010101020101');
|
||||
SELECT matchinfo( f , 'pcx') FROM f WHERE b MATCH x'c533';
|
||||
} {1 {database disk image is malformed}}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user