]> git.ipfire.org Git - thirdparty/sqlite.git/commit
The MemPage.aDataEnd field should point to the end of the data buffer for
authordrh <>
Tue, 1 Mar 2022 20:15:04 +0000 (20:15 +0000)
committerdrh <>
Tue, 1 Mar 2022 20:15:04 +0000 (20:15 +0000)
commita055abb8c4189f5867852a8f67ec6b454eb7e058
treefd2fa6425d3bb6f9a675b130a7bfe0200a957d93
parent3b4cb719c054a6052555a6ebf55038eb052e909b
The MemPage.aDataEnd field should point to the end of the data buffer for
the page, not just the end of the usable portion of that buffer.  The purpose
aDataEnd is to detect cells that overflow the page, and that won't work on a
page with reserved bytes and a cell that starts in the reserved region, unless
the boundary is at the very end of the page. Chromium issue 1276294.

FossilOrigin-Name: f839c0bc8388a31f6db5081906b66b9e129855ba27a13cf13bd995b083f7386e
manifest
manifest.uuid
src/btree.c
src/btreeInt.h