When reading a super-journal name from a journal file, allocate a new buffer rather than using Pager.pTmpSpace. This prevents a buffer overrun that could occur when using a VFS with a large sqlite3_vfs.mxPathname value with a database with a small page size.

FossilOrigin-Name: 7f71859841af7cb0806f58e9c8013a990fcca72b807a0513156d7127ce5c7b62
This commit is contained in:
dan
2026-06-12 18:35:24 +00:00
3 changed files with 77 additions and 82 deletions
+1 -1
View File
@@ -1 +1 @@
f15d076820f4a0d9e7fa32d99575bce27bde5e987bb415e6cfb69b06f0da7e1e
7f71859841af7cb0806f58e9c8013a990fcca72b807a0513156d7127ce5c7b62