Skip to content

bpo-26423: Fix possible overflow in wrap_lenfunc()#13606

Merged
vstinner merged 2 commits into
python:masterfrom
ZackerySpytz:bpo-26423-__len__-overflow
May 28, 2019
Merged

bpo-26423: Fix possible overflow in wrap_lenfunc()#13606
vstinner merged 2 commits into
python:masterfrom
ZackerySpytz:bpo-26423-__len__-overflow

Conversation

@ZackerySpytz

@ZackerySpytz ZackerySpytz commented May 28, 2019

Copy link
Copy Markdown
Contributor

Comment thread Misc/NEWS.d/next/Core and Builtins/2019-05-27-18-00-19.bpo-26423.RgUOE8.rst Outdated
@ZackerySpytz

Copy link
Copy Markdown
Contributor Author

@vstinner Thank you for your review. I have added more detail to the news entry.

@vstinner vstinner merged commit 05f1641 into python:master May 28, 2019
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @ZackerySpytz for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 28, 2019
Fix possible overflow in wrap_lenfunc() when
sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows).
(cherry picked from commit 05f1641)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-13622 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request May 28, 2019
Fix possible overflow in wrap_lenfunc() when
sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows).
(cherry picked from commit 05f1641)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @ZackerySpytz for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @ZackerySpytz and @vstinner, I could not cleanly backport this to 2.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 05f16416d99dc9fc76fef11e56f16593e7a5955e 2.7

@bedevere-bot

Copy link
Copy Markdown

GH-13625 is a backport of this pull request to the 2.7 branch.

vstinner added a commit that referenced this pull request May 28, 2019
Fix possible overflow in wrap_lenfunc() when
sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows).

(cherry picked from commit 05f1641)
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Fix possible overflow in wrap_lenfunc() when
sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows).
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.

5 participants