Staging
v0.5.1
https://github.com/python/cpython
Revision 503baf9ecd2cc5fb0bb85cec99c300862c02de85 authored by Andrew Kuchling on 15 September 2013, 17:11:47 UTC, committed by Andrew Kuchling on 15 September 2013, 17:11:47 UTC
The SSLFakeFile.readline() method needs to support limiting readline() as
well.  It's not a full emulation of readline()'s signature, but this class
is only used by smtplib's code, so it doesn't have to be.

Modified version of original patch by Christian Heimes.
1 parent ed9884b
History
Tip revision: 503baf9ecd2cc5fb0bb85cec99c300862c02de85 authored by Andrew Kuchling on 15 September 2013, 17:11:47 UTC
#16042: CVE-2013-1752: Limit amount of data read by limiting the call to readline().
Tip revision: 503baf9
File Mode Size
VC6
VS7.1
VS8.0
bdist_wininst
example_nt
icons
os2emx
os2vacpp
WinMain.c -rw-r--r-- 447 bytes
_msi.c -rw-r--r-- 30.9 KB
_subprocess.c -rw-r--r-- 19.0 KB
_winreg.c -rw-r--r-- 56.8 KB
config.c -rw-r--r-- 4.5 KB
dl_nt.c -rw-r--r-- 4.2 KB
dllbase_nt.txt -rw-r--r-- 3.5 KB
empty.c -rw-r--r-- 137 bytes
errmap.h -rw-r--r-- 2.1 KB
errmap.mak -rw-r--r-- 95 bytes
frozen_dllmain.c -rw-r--r-- 3.9 KB
generrmap.c -rw-r--r-- 503 bytes
getpathp.c -rw-r--r-- 21.0 KB
icons.mak -rw-r--r-- 213 bytes
icons.rc -rw-r--r-- 59 bytes
import_nt.c -rw-r--r-- 2.7 KB
make_versioninfo.c -rw-r--r-- 1.2 KB
msvcrtmodule.c -rwxr-xr-x 7.9 KB
py.ico -rw-r--r-- 19.3 KB
pyc.ico -rw-r--r-- 19.3 KB
pycon.ico -rw-r--r-- 19.3 KB
pyconfig.h -rw-r--r-- 19.7 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-- 834 bytes
w9xpopen.c -rw-r--r-- 3.6 KB
winsound.c -rw-r--r-- 5.3 KB

readme.txt

back to top