51e3e450fb
Fix a leak and subsequent crash in parsetok.c caused by realloc misuse on a rare codepath. Realloc returns a null pointer on failure, and then growable_comment_array_deallocate crashes later when it dereferences it. |
||
---|---|---|
.. | ||
pgen | ||
Python.asdl | ||
acceler.c | ||
asdl.py | ||
asdl_c.py | ||
grammar1.c | ||
listnode.c | ||
myreadline.c | ||
node.c | ||
parser.c | ||
parser.h | ||
parsetok.c | ||
token.c | ||
tokenizer.c | ||
tokenizer.h |