Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 5e27a6cb0b64eab189b474bd91f23c05cab94cb2 authored by Andrew M. Kuchling on 06 October 2006, 18:59:10 UTC, committed by Andrew M. Kuchling on 06 October 2006, 18:59:10 UTC
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)
1 parent 08d7a49
Tip revision: 5e27a6cb0b64eab189b474bd91f23c05cab94cb2 authored by Andrew M. Kuchling on 06 October 2006, 18:59:10 UTC
[Backport r46602 | neal.norwitz]
[Backport r46602 | neal.norwitz]
Tip revision: 5e27a6c
File | Mode | Size |
---|---|---|
VC6 | ||
bdist_wininst | ||
example_nt | ||
os2emx | ||
os2vacpp | ||
WinMain.c | -rw-r--r-- | 447 bytes |
_subprocess.c | -rw-r--r-- | 13.2 KB |
_winreg.c | -rw-r--r-- | 42.8 KB |
config.c | -rw-r--r-- | 4.1 KB |
dl_nt.c | -rw-r--r-- | 908 bytes |
dllbase_nt.txt | -rw-r--r-- | 3.5 KB |
empty.c | -rw-r--r-- | 137 bytes |
frozen_dllmain.c | -rw-r--r-- | 3.6 KB |
getpathp.c | -rw-r--r-- | 18.0 KB |
icons.mak | -rw-r--r-- | 213 bytes |
icons.rc | -rw-r--r-- | 59 bytes |
import_nt.c | -rw-r--r-- | 2.4 KB |
make_versioninfo.c | -rw-r--r-- | 1.0 KB |
msvcrtmodule.c | -rwxr-xr-x | 5.0 KB |
py.ico | -rw-r--r-- | 766 bytes |
pyc.ico | -rw-r--r-- | 766 bytes |
pycon.ico | -rw-r--r-- | 766 bytes |
pyconfig.h | -rw-r--r-- | 15.8 KB |
python.mk | -rw-r--r-- | 234 bytes |
python_exe.rc | -rw-r--r-- | 49 bytes |
python_nt.rc | -rw-r--r-- | 1.8 KB |
readme.txt | -rw-r--r-- | 4.2 KB |
testpy.py | -rw-r--r-- | 890 bytes |
tix.diff | -rw-r--r-- | 3.2 KB |
w9xpopen.c | -rw-r--r-- | 3.6 KB |
winsound.c | -rw-r--r-- | 7.1 KB |
Computing file changes ...