-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
bytearray().__buffer__(256)
crashes
#126980
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
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Nov 18, 2024
sobolevn
added a commit
that referenced
this issue
Nov 19, 2024
…126981) Co-authored-by: Victor Stinner <[email protected]>
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Nov 19, 2024
…EAD,WRITE}` (pythonGH-126981) (cherry picked from commit 3932e1d) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Nov 19, 2024
…EAD,WRITE}` (pythonGH-126981) (cherry picked from commit 3932e1d) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
sobolevn
added a commit
that referenced
this issue
Nov 19, 2024
…ITE}` (GH-126981) (#127023) (cherry picked from commit 3932e1d) Co-authored-by: Victor Stinner <[email protected]>
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
…TE}` (python#126981) Co-authored-by: Victor Stinner <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-crash
A hard crash of the interpreter, possibly with a core dump
Crash report
Code says that it cannot fail:
cpython/Objects/bytearrayobject.c
Lines 44 to 56 in 4cd1076
But, it can:
cpython/Objects/abstract.c
Lines 770 to 774 in 4cd1076
I have a PR ready.
CC @JelleZijlstra
Linked PRs
bytearray.__buffer__
crash onPyBUF_{READ,WRITE}
#126981bytearray.__buffer__
crash onPyBUF_{READ,WRITE}
(GH-126981) #127023The text was updated successfully, but these errors were encountered: