/ Check-in [93f8ec14]
Login

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

Overview
Comment:Fix asan warnings in fts5 triggered by corrupt databases - passing NULL to memcmp, out-of-range left-shift values and signed integer overflow.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:93f8ec146d63af13f04e337ada4fa75e9254f72b1394df09701ae12e185f27e2
User & Date: dan 2019-01-25 16:54:06
Context
2019-01-25
17:26
Fix a segfault that could follow an OOM when querying a table that has one or more columns with default values "true" or "false". check-in: 202f9919 user: dan tags: trunk
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. check-in: 93f8ec14 user: dan tags: trunk
14:48
Add an assert_fts3_nc() macro to fts3 - for assert() conditions that are only true when it is guaranteed that the fts3 database is not corrupt. check-in: 3498908c user: dan tags: trunk
Changes
Unified Diffs Side-by-Side Diffs Patch

Changes to ext/fts5/fts5Int.h.

Changes to ext/fts5/fts5_aux.c.

Changes to ext/fts5/fts5_index.c.

Changes to ext/fts5/test/fts5corrupt3.test.