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

README

back to top