[Python-checkins] [python/cpython] 2849cc: bpo-29738: Fix memory leak in _get_crl_dp (GH-526)

GitHub noreply at github.com
Fri Apr 14 21:06:08 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 2849cc34a8db93d448a62d69c462402347b50dcb
      https://github.com/python/cpython/commit/2849cc34a8db93d448a62d69c462402347b50dcb
  Author: Olivier Vielpeau <olivielpeau at users.noreply.github.com>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M Modules/_ssl.c

  Log Message:
  -----------
  bpo-29738: Fix memory leak in _get_crl_dp (GH-526)

* 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.




More information about the Python-checkins mailing list