After having been assigned to a NULL value
|
parser_token->metadata = NULL; |
pointer 'parser_token->metadata' is passed as 3rd parameter in call to function 'Py_DECREF':
|
Py_DECREF(parser_token->metadata); |
where it is dereferenced.
Metadata for a new_token can be set using fstrings, such as {1!=2=}.
If _PyArena_AddPyObject returns -1, we will get a read access violation exception.
Linked PRs
After having been assigned to a NULL value
cpython/Parser/pegen.c
Line 194 in ac12de2
pointer 'parser_token->metadata' is passed as 3rd parameter in call to function 'Py_DECREF':
cpython/Parser/pegen.c
Line 197 in ac12de2
where it is dereferenced.
Metadata for a new_token can be set using fstrings, such as
{1!=2=}.If _PyArena_AddPyObject returns -1, we will get a read access violation exception.
Linked PRs