-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
UBSan: misaligned memory loads in Objects/dictobject.c
#127563
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, 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`.
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
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
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: