]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127563: use `dk_log2_index_bytes=3` in empty dicts (GH-127568)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Tue, 10 Dec 2024 15:58:17 +0000 (16:58 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2024 15:58:17 +0000 (16:58 +0100)
commit9af96f440618304e7cc609c246e1f8c8b2d7a119
tree746905d5b0f9a0b192af4d2184617b02de3f7003
parentcef0a90d8f3a94aa534593f39b4abf98165675b9
gh-127563: use `dk_log2_index_bytes=3` in empty dicts (GH-127568)

This fixes a UBSan failure (unaligned zero-size memcpy) in `dictobject.c`.
Objects/dictobject.c