-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Possible null pointer dereference of variable args in _PyPegen_collect_call_seqs #126240
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)
topic-parser
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
Thanks for this one! I'll hunt other missing NULL check in |
sobolevn
pushed a commit
that referenced
this issue
Oct 31, 2024
check return value of `_Py_asdl_expr_seq_new`
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 31, 2024
…ythonGH-126241) check return value of `_Py_asdl_expr_seq_new` (cherry picked from commit 94639f6) Co-authored-by: Bénédikt Tran <[email protected]>
sobolevn
pushed a commit
that referenced
this issue
Oct 31, 2024
Closing since completed and backported. Thanks for the report! |
picnixz
added a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
…ython#126241) check return value of `_Py_asdl_expr_seq_new`
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
…ython#126241) check return value of `_Py_asdl_expr_seq_new`
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)
topic-parser
type-crash
A hard crash of the interpreter, possibly with a core dump
Crash report
What happened?
args can be NULL as a result of
_Py_asdl_expr_seq_new
, and then dereference happens.Return value of _Py_asdl_expr_seq_new` is usually checked, for example here and in other places.
CPython versions tested on:
3.11
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
No response
Linked PRs
NULL
returned by_Py_asdl_expr_seq_new
#126241NULL
returned by_Py_asdl_expr_seq_new
(GH-126241) #126243NULL
returned by_Py_asdl_expr_seq_new
(GH-126241) #126245The text was updated successfully, but these errors were encountered: