1. 15 May, 2019 1 commit
  2. 13 May, 2019 2 commits
    • Terry Jan Reedy's avatar
    • Gregory P. Smith's avatar
      [2.7] bpo-35925: Skip SSL tests that fail due to weak external certs or old... · 7346a16e
      Gregory P. Smith authored
      [2.7] bpo-35925: Skip SSL tests that fail due to weak external certs or old TLS (GH-13124) (GH-13253)
      
      Modern Linux distros such as Debian Buster have default OpenSSL system
      configurations that reject connections to servers with weak certificates
      by default. This causes our test suite run with external networking
      resources enabled to skip these tests when they encounter such a
      failure.
      
      Fixing the network servers is a separate issue.
      (cherry picked from commit 2cc0223f)
      
      Changes to test_ssl.py required as 2.7 has legacy protocol tests.
      
      The test_httplib.py change is omitted from this backport as
      self-signed.pythontest.net's certificate was updated and the
      test_nntplib.py change is not applicable on 2.7.
      
      Authored-by: Gregory P. Smith greg@krypto.org
      7346a16e
  3. 12 May, 2019 1 commit
  4. 09 May, 2019 1 commit
  5. 08 May, 2019 1 commit
  6. 02 May, 2019 2 commits
  7. 01 May, 2019 1 commit
  8. 30 Apr, 2019 1 commit
  9. 29 Apr, 2019 1 commit
  10. 25 Apr, 2019 1 commit
  11. 22 Apr, 2019 1 commit
  12. 13 Apr, 2019 1 commit
  13. 12 Apr, 2019 1 commit
  14. 09 Apr, 2019 5 commits
  15. 03 Apr, 2019 1 commit
  16. 31 Mar, 2019 1 commit
  17. 28 Mar, 2019 1 commit
  18. 27 Mar, 2019 3 commits
  19. 26 Mar, 2019 2 commits
  20. 25 Mar, 2019 2 commits
  21. 20 Mar, 2019 2 commits
  22. 19 Mar, 2019 3 commits
  23. 18 Mar, 2019 2 commits
  24. 15 Mar, 2019 1 commit
  25. 14 Mar, 2019 2 commits
    • Victor Stinner's avatar
      bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) (GH-12332) · b1405787
      Victor Stinner authored
      Fix an unlikely memory leak on conversion from string to float in the
      function _Py_dg_strtod() used by float(str), complex(str),
      pickle.load(), marshal.load(), etc.
      
      Fix an unlikely memory leak in _Py_dg_strtod() on "undfl:" label:
      rewrite memory management in this function to always release all
      memory before exiting the function. Initialize variables to NULL, and
      set them to NULL after calling Bfree() at the "cont:" label.
      
      Note: Bfree(NULL) is well defined: it does nothing.
      
      (cherry picked from commit 9776b063)
      b1405787
    • stratakis's avatar
      [2.7] bpo-36289: Fix a possible reference leak in the io module (GH-12329) · 2dd6e079
      stratakis authored
      Fix a reference leak in _bufferedreader_read_all():
      _io.BufferedIOMixin.read() leaks a reference on 'data'
      when it reads the whole file content but flush() fails.
      2dd6e079