[2.7] bpo-16039: CVE-2013-1752: Limit imaplib.IMAP4_SSL.readline() by vstinner · Pull Request #11120 · python/cpython

@bedevere-bot added the tests

Tests in the Lib/test dir

label

Dec 11, 2018

@vstinner

* bpo-16039: CVE-2013-1752: Change use of readline() in
  imaplib.IMAP4_SSL to limit line length. Remove IMAP4_SSL.readline()
  and IMAP4_SSL.read() to inherit IMAP4 implementation.
* bpo-20118: reenable ThreadedNetworkedTests.test_linetoolong()
  of test_imaplib. The test now sets the _MAXLINE limit to 10
  characters.

@vstinner vstinner changed the title [2.7] bpo-20118, test_imaplib: reenable test_linetoolong() [2.7] bpo-16039: CVE-2013-1752: Limit imaplib.IMAP4_SSL.readline()

Dec 11, 2018