Skip to content

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 [email protected]

…-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 <[email protected]>
@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) <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
@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
pablogsal pushed a commit that referenced this pull request Jun 16, 2025
…) (GH-127813) (#135463)

[3.12] gh-127563: use `dk_log2_index_bytes=3` in empty dicts (GH-127568) (GH-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: Bénédikt Tran <[email protected]>
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