Skip to content

Possible null pointer dereference of variable args in _PyPegen_collect_call_seqs #126240

@federicovalenso

Description

@federicovalenso

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

Metadata

Metadata

Assignees

Labels

3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-parsertype-crashA hard crash of the interpreter, possibly with a core dump

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions