[Python-checkins] [python/cpython] 8e7201: [3.6] bpo-29738: Fix memory leak in _get_crl_dp (G...

GitHub noreply at github.com
Fri Apr 14 21:34:12 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: 8e7201342dc6eef201bfa4f533ad89a8144fd693
      https://github.com/python/cpython/commit/8e7201342dc6eef201bfa4f533ad89a8144fd693
  Author: Mariatta <Mariatta at users.noreply.github.com>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M Modules/_ssl.c

  Log Message:
  -----------
  [3.6] bpo-29738: Fix memory leak in _get_crl_dp (GH-526) (GH-1142)

* Remove conditional on free of `dps`, since `dps` is now allocated for
all versions of OpenSSL
* Remove call to `x509_check_ca` since it was only used to cache
the `crldp` field of the certificate
CRL_DIST_POINTS_free is available in all supported versions of OpenSSL
(recent 0.9.8+) and LibreSSL.
(cherry picked from commit 2849cc34a8db93d448a62d69c462402347b50dcb)




More information about the Python-checkins mailing list