]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45521: Fix a bug in the obmalloc radix tree code. (GH-29051) (GH-29122)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 21 Oct 2021 15:39:58 +0000 (08:39 -0700)
committerGitHub <noreply@github.com>
Thu, 21 Oct 2021 15:39:58 +0000 (08:39 -0700)
commit1cdac61065e72db60d26e03ef9286d2743d7000e
treeb118974db71db92f73df741a6373c5682baa8e6a
parent00ddc1fbd7296ffe066077194a895b175cca26de
bpo-45521: Fix a bug in the obmalloc radix tree code. (GH-29051) (GH-29122)

MAP_BOT_LENGTH was incorrectly used to compute MAP_TOP_MASK instead of
MAP_TOP_LENGTH. On 64-bit machines, the error causes the tree to hold
46-bits of virtual addresses, rather than the intended 48-bits.
(cherry picked from commit 311910b31a4bd94dc79298388b7cb65ca5546438)
Misc/NEWS.d/next/Core and Builtins/2021-10-18-22-40-33.bpo-45521.GdMiuW.rst [new file with mode: 0644]
Objects/obmalloc.c