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
integer overflow in computing unicode's object representation #66710
Comments
# unicode_repr(PyObject *unicode) |
New changeset 8ba7e5f43952 by Benjamin Peterson in branch '3.3': New changeset 6f54dfa675eb by Benjamin Peterson in branch '3.4': New changeset 245d9679cd5b by Benjamin Peterson in branch 'default': |
It would be nice to add a bigmem test to check that repr('\x00'*(2**30+1)) doesn't crash anymore. |
As Serhiy has noted on other bugs, the fact that the tests must be restricted to 32-bits limits their usefulness unfortunately. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: