-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Closed
Labels
Description
After having been assigned to a NULL value
Line 194 in ac12de2
parser_token->metadata = NULL; |
pointer 'parser_token->metadata' is passed as 3rd parameter in call to function 'Py_DECREF':
Line 197 in ac12de2
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
- gh-131762: Fixed dereferencing the pointer 'parser_token->metadata' with a NULL value #131764
- [3.13] gh-131762: Fixed dereferencing the pointer 'parser_token->metadata' with a NULL value (GH-131764) #131774
- [3.12] gh-131762: Fixed dereferencing the pointer 'parser_token->metadata' with a NULL value (GH-131764) #131775