Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be 3128 CVE 2023 24329 #33

Merged
merged 7 commits into from
Nov 20, 2023
Merged

Be 3128 CVE 2023 24329 #33

merged 7 commits into from
Nov 20, 2023

Conversation

rickprice
Copy link

Fixes for CVE-2023-24329

To make this work in Python2, you need to first turn the range into a
bytearray before you run the bytes constructor on it.
Otherwise it turns the list of numbers into a string representation of the
list, rather than a list of bytes.
Because Python2 doesn't have subtests.
Because we now strip spaces, these tests can't fail
@rickprice
Copy link
Author

Right, as well, I think the newer version with the fix doesn't have caching at all, from what I remember, its something that's a thing with the older version only.

Copy link

@icanhasmath icanhasmath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@icanhasmath icanhasmath merged commit d958dcf into 2.7 Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants