]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When rolling back a journal that contains a super-journal pointer, only attempt to...
authordan <Dan Kennedy>
Wed, 24 Jun 2026 19:28:55 +0000 (19:28 +0000)
committerdan <Dan Kennedy>
Wed, 24 Jun 2026 19:28:55 +0000 (19:28 +0000)
commit27ab7ff6067bfd805b3da745d94b06a26f4f2d18
tree06e5a3e80d9106a5933140da0ae69a8aa2aa86cd
parent19688708136ddfac9ea459ce393d8f4391fb057b
parent57312eb3622028e7ea376ce7c6519824426e30a7
When rolling back a journal that contains a super-journal pointer, only attempt to unlink the super-journal if (a) the filename looks like one that SQLite might have generated, and (b) the super-journal contains the name of the journal being rolled back. This is to limit the extent to which SQLite can be caused to delete arbitrary files by supplying it with a crafted hot-journal. Report [bugs:/info/2026-06-24T14:18:00Z | 2026-06-24T14:18:00Z].

FossilOrigin-Name: 6d8da8861c8ccbfdbe838587dc2f5ef1817bc0af4a6167940446ee7bdc53955c
manifest
manifest.uuid