FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.8] gh-108310: Fix TestPreHandshakeClose tests in test_ssl by frenzymadness · Pull Request #110718 · python/cpython · GitHub

Repository navigation

[3.8] gh-108310: Fix TestPreHandshakeClose tests in test_ssl - #110718

Merged
ambv merged 2 commits into
python:3.8from
frenzymadness:fix_tls_tests
Jan 17, 2024
Merged

ambv merged 2 commits into
python:3.8from
frenzymadness:fix_tls_tests

Conversation

frenzymadness commented Oct 11, 2023 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

The new class is part of the fix for CVE-2023-40217: b4bcc06 but it's not in the lists of tests so they're not
executed. The new tests also need SHORT_TIMEOUT
constant not available in test.support in 3.8.

I'm using the original issue here as this change fixes the original testsuite for the CVE in TLS.

An alternative for having the constant in test_ssl is to backport this commit from 3.9: 24c6258 But it touches a lot of files and I think that might be too much for 3.8.

Cc the authors of the original fix: @ambv and @gpshead

The new class is part of the fix for CVE-2023-40217:
python@b4bcc06
but it's not in the lists of tests so they're not
executed. The new tests also need `SHORT_TIMEOUT`
constant not available in test.support in 3.8.
frenzymadness requested a review from tiran as a code owner October 11, 2023 13:42
bedevere-app Bot added tests Tests in the Lib/test dir awaiting review labels Oct 11, 2023
ambv changed the title gh-108310: Fix TestPreHandshakeClose tests in test_ssl [3.8] gh-108310: Fix TestPreHandshakeClose tests in test_ssl Oct 11, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL