/ Check-in [2a5f813b]
Login

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

Overview
Comment:In extensions rtree, fts3 and fts5, ensure that when dynamic buffers are bound to persistent SQL statements using SQLITE_STATIC, the binding is replaced with an SQL NULL before the buffer is freed. Otherwise, a user may obtain a pointer to the persistent statement using sqlite3_next_stmt() and attempt to access the freed buffer using sqlite3_expanded_sql() or similar.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2a5f813bc61f9e780f2ccbda425611f65ad523b6d486a1e5e2b9d5e9f1d260a2
User & Date: dan 2018-02-07 18:02:50
Context
2018-02-07
18:45
Fix typo in comment. Skip tests added by check-in [4761db83b6] when running on Windows. check-in: 468a389c user: mistachkin tags: trunk
18:02
In extensions rtree, fts3 and fts5, ensure that when dynamic buffers are bound to persistent SQL statements using SQLITE_STATIC, the binding is replaced with an SQL NULL before the buffer is freed. Otherwise, a user may obtain a pointer to the persistent statement using sqlite3_next_stmt() and attempt to access the freed buffer using sqlite3_expanded_sql() or similar. check-in: 2a5f813b user: dan tags: trunk
16:14
When the final connection disconnects from a wal mode database, check that the database file has not been moved or unlinked before deleting the wal and shm files. check-in: 4761db83 user: dan tags: trunk
Changes
Unified Diffs Side-by-Side Diffs Patch

Changes to ext/fts3/fts3_write.c.

Changes to ext/fts5/fts5_index.c.

Changes to ext/fts5/fts5_storage.c.

Changes to ext/fts5/test/fts5aa.test.

Changes to ext/rtree/rtree.c.

Changes to ext/rtree/rtree1.test.

Changes to ext/rtree/rtree4.test.

Changes to ext/rtree/rtree5.test.

Changes to ext/rtree/rtree6.test.

Changes to ext/rtree/rtreeG.test.

Changes to test/fts3aa.test.

Changes to test/tester.tcl.