diff options
author | Christian Heimes <christian@python.org> | 2019-01-15 22:47:42 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-01-15 22:47:42 (GMT) |
commit | a37f52436f9aa4b9292878b72f3ff1480e2606c3 (patch) | |
tree | 241263055db201418a7288a883eefd783ff59364 /Lib/test/talos-2019-0758.pem | |
parent | c9f872b0bdce5888f1879fa74e098bf4a05430c5 (diff) | |
download | cpython-a37f52436f9aa4b9292878b72f3ff1480e2606c3.zip cpython-a37f52436f9aa4b9292878b72f3ff1480e2606c3.tar.gz cpython-a37f52436f9aa4b9292878b72f3ff1480e2606c3.tar.bz2 |
bpo-35746: Fix segfault in ssl's cert parser (GH-11569)
Fix a NULL pointer deref in ssl module. The cert parser did not handle CRL
distribution points with empty DP or URI correctly. A malicious or buggy
certificate can result into segfault.
Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue35746
Diffstat (limited to 'Lib/test/talos-2019-0758.pem')
-rw-r--r-- | Lib/test/talos-2019-0758.pem | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Lib/test/talos-2019-0758.pem b/Lib/test/talos-2019-0758.pem new file mode 100644 index 0000000..13b95a7 --- /dev/null +++ b/Lib/test/talos-2019-0758.pem @@ -0,0 +1,22 @@ +-----BEGIN CERTIFICATE----- +MIIDqDCCApKgAwIBAgIBAjALBgkqhkiG9w0BAQswHzELMAkGA1UEBhMCVUsxEDAO +BgNVBAMTB2NvZHktY2EwHhcNMTgwNjE4MTgwMDU4WhcNMjgwNjE0MTgwMDU4WjA7 +MQswCQYDVQQGEwJVSzEsMCoGA1UEAxMjY29kZW5vbWljb24tdm0tMi50ZXN0Lmxh +bC5jaXNjby5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC63fGB +J80A9Av1GB0bptslKRIUtJm8EeEu34HkDWbL6AJY0P8WfDtlXjlPaLqFa6sqH6ES +V48prSm1ZUbDSVL8R6BYVYpOlK8/48x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