]> git.ipfire.org Git - thirdparty/sqlite.git/commit
In the OPFS VFS' importDb() methods, overwrite the header bytes 18 and 19 with 1...
authorstephan <stephan@noemail.net>
Fri, 1 Sep 2023 11:30:55 +0000 (11:30 +0000)
committerstephan <stephan@noemail.net>
Fri, 1 Sep 2023 11:30:55 +0000 (11:30 +0000)
commit4eeb32ce184b6c9ee38b7f394fdda3ffe341c488
tree64fab5052f0fbeca0eedff85f5b616961033c5aa
parent213543b5546b5167468af45b62d361db21aeee29
In the OPFS VFS' importDb() methods, overwrite the header bytes 18 and 19 with 1 instead of 0. Correct a potentially leaked/unclosed SharedAccessHandle when importDb() throws.

FossilOrigin-Name: 6795a6107bc8e6965c078fb4ddecbaae1f6a8e273effe4c8c0555358f0fbf32b
ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js
ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
manifest
manifest.uuid