Skip to content

[3.12] gh-127563: use dk_log2_index_bytes=3 in empty dicts (GH-127568) #127813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 11, 2024

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

Co-authored-by: Bénédikt Tran 10796600+picnixz@users.noreply.github.com

…-127568)

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

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@encukou encukou merged commit 320a1dc into python:3.12 Dec 12, 2024
31 checks passed
@encukou encukou added the needs backport to 3.11 only security fixes label Jun 13, 2025
@miss-islington-app
Copy link

Thanks @miss-islington for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington added a commit to miss-islington/cpython that referenced this pull request Jun 13, 2025
…ythonGH-127568) (pythonGH-127813)

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

(cherry picked from commit 320a1dc)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Jun 13, 2025

GH-135463 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants