d21a7fffb1
Prevent an invalid memory read from test_coding in case the done flag is set. In that case, the loop isn't entered. I wonder if rather than setting the done flag in the cases before the loop, if they should just exit early. This code looks like it should be refactored. Backport candidate (also the early break above if decoding_fgets fails) |
||
---|---|---|
.. | ||
Python.asdl | ||
acceler.c | ||
asdl.py | ||
asdl_c.py | ||
bitset.c | ||
firstsets.c | ||
grammar.c | ||
grammar.mak | ||
grammar1.c | ||
intrcheck.c | ||
listnode.c | ||
metagrammar.c | ||
myreadline.c | ||
node.c | ||
parser.c | ||
parser.h | ||
parsetok.c | ||
pgen.c | ||
pgenmain.c | ||
printgrammar.c | ||
spark.py | ||
tokenizer.c | ||
tokenizer.h | ||
tokenizer_pgen.c |