]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-127563: use `dk_log2_index_bytes=3` in empty dicts (GH-127568) (GH-127798)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Dec 2024 08:24:14 +0000 (09:24 +0100)
committerGitHub <noreply@github.com>
Wed, 11 Dec 2024 08:24:14 +0000 (09:24 +0100)
commitacf05aa5d82f2d96581a6b5625371a44b4bd625b
tree1a55c35cbed0c4703ff4b21039d04bba578c4f00
parent8b28dedc5856db82826087278b216d3ff3c06994
[3.13] gh-127563: use `dk_log2_index_bytes=3` in empty dicts (GH-127568) (GH-127798)

This fixes a UBSan failure (unaligned zero-size memcpy) in `dictobject.c`.
(cherry picked from commit 9af96f440618304e7cc609c246e1f8c8b2d7a119)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Objects/dictobject.c