summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-10-06 18:59:10 +0000
committerAndrew M. Kuchling <amk@amk.ca>2006-10-06 18:59:10 +0000
commit5e27a6cb0b64eab189b474bd91f23c05cab94cb2 (patch)
treea4f4bb91967d0bc63310bdc01ee8376993dea8c7 /Python
parent08d7a49e81346562bf63fd1b30e57d978c829601 (diff)
downloadcpython-git-5e27a6cb0b64eab189b474bd91f23c05cab94cb2.tar.gz
[Backport r46602 | neal.norwitz]
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)
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions