• Victor Stinner's avatar
    bpo-16039: CVE-2013-1752: Limit imaplib.IMAP4_SSL.readline() (GH-11120) · 16d63202
    Victor Stinner authored
    * 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 safe IMAP4 implementation.
    * bpo-20118: reenable test_linetoolong() of test_imaplib
      on ThreadedNetworkedTests and ThreadedNetworkedTestsSSL.
      The test now sets the _MAXLINE limit to 10 characters.
    16d63202
imaplib.py 47.2 KB