-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
UBSan: misaligned memory loads in Objects/dictobject.c
#127563
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
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Comments
Objects/unicodeobject.c
and Objects/dictobject.c
Objects/unicodeobject.c
and Objects/dictobject.c
Objects/{dictobject,unicodeobject}.c
@encukou Are you planning to fix them now? |
Looking at my queue, I'll probably get to them next week. Feel free to take them now if you want. |
I'll fix the issue in unicodeobject.c as part of #126024 instead and the dictobject.c as part of this issue. |
Objects/{dictobject,unicodeobject}.c
Objects/dictobject.c
For the unicodeobject UBSan failure: #127566. |
encukou
pushed a commit
that referenced
this issue
Dec 10, 2024
This fixes a UBSan failure (unaligned zero-size memcpy) in `dictobject.c`.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 10, 2024
…-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]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 10, 2024
…-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
pushed a commit
that referenced
this issue
Dec 11, 2024
…) (GH-127798) 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]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 11, 2024
…-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
pushed a commit
that referenced
this issue
Dec 12, 2024
…) (GH-127813) 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]>
Closing since completed and backported. |
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
…-127568) This fixes a UBSan failure (unaligned zero-size memcpy) in `dictobject.c`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
clang
18+'s undefined behavior sanitizer reports two cases of misaligned load:and
Linked PRs
dictobject.c
#127568dk_log2_index_bytes=3
in empty dicts (GH-127568) #127798dk_log2_index_bytes=3
in empty dicts (GH-127568) #127813The text was updated successfully, but these errors were encountered: