]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45521: Fix a bug in the obmalloc radix tree code. (GH-29051)
authorNeil Schemenauer <nas-github@arctrix.com>
Thu, 21 Oct 2021 13:38:36 +0000 (06:38 -0700)
committerGitHub <noreply@github.com>
Thu, 21 Oct 2021 13:38:36 +0000 (06:38 -0700)
commit311910b31a4bd94dc79298388b7cb65ca5546438
tree233dded5ff6cd6899c0524e44a29a8059e8ff776
parent9942f42a93ccda047fd3558c47b822e99afe10c0
bpo-45521: Fix a bug in the obmalloc radix tree code. (GH-29051)

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.
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