• Andrew M. Kuchling's avatar
    [Backport r46602 | neal.norwitz] · 5e27a6cb
    Andrew M. Kuchling yazdı
    Patch #1357836:
    
    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)
    5e27a6cb
tokenizer.c 32.6 KB