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

bpo-34922: Fixed integer overflow in the digest() and hexdigest() methods by serhiy-storchaka · Pull Request #9751 · python/cpython · GitHub

Repository navigation

bpo-34922: Fixed integer overflow in the digest() and hexdigest() methods - #9751

Merged
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:hashlib-digest-overflow
Oct 11, 2018
Merged

serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:hashlib-digest-overflow

Conversation

serhiy-storchaka commented Oct 7, 2018 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

for the SHAKE algorithm in the hashlib module.

https://bugs.python.org/issue34922

…hods

for the SHAKE algorithm in the hashlib module.

Copy link
Copy Markdown
Member

@serhiy-storchaka, I'm not interested in a change for master as there is no rush for that so I'm removing myself as a reviewer. I'll let you all figure out what's best. My concern is for 3.6 where something is needed and for 3.7. Is a change like this needed for 3.7 as long as PR 8581 remains in 3.7?

Copy link
Copy Markdown
Member Author

A change like this is needed for 3.7 in any case, independently from the fate of #8581. Just crashes can be caused by different input values.

serhiy-storchaka merged commit 9b8c2e7 into python:master Oct 11, 2018

Copy link
Copy Markdown
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

serhiy-storchaka deleted the hashlib-digest-overflow branch October 11, 2018 04:41

Copy link
Copy Markdown
Contributor

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 9b8c2e767643256202bb11456ba8665593b9a500 3.7

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 11, 2018
…ds (pythonGH-9751)

for the SHAKE algorithm in the hashlib module.
(cherry picked from commit 9b8c2e7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Copy link
Copy Markdown

GH-9797 is a backport of this pull request to the 3.6 branch.

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Oct 11, 2018
… methods (pythonGH-9751)

for the SHAKE algorithm in the hashlib module..
(cherry picked from commit 9b8c2e7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Copy link
Copy Markdown

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

serhiy-storchaka added a commit that referenced this pull request Oct 11, 2018
… methods (GH-9751) (GH-9798)

for the SHAKE algorithm in the hashlib module.
(cherry picked from commit 9b8c2e7)
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 11, 2018
… methods (pythonGH-9751) (pythonGH-9798)

for the SHAKE algorithm in the hashlib module.
(cherry picked from commit 9b8c2e7)
(cherry picked from commit 8b040e5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Copy link
Copy Markdown
Member Author

GH-9801 is a backport of this pull request to the 3.6 branch.

serhiy-storchaka removed their assignment Oct 11, 2018
serhiy-storchaka added a commit that referenced this pull request Oct 11, 2018
… methods (GH-9751) (GH-9798) (GH-9801)

for the SHAKE algorithm in the hashlib module.
(cherry picked from commit 9b8c2e7)
(cherry picked from commit 8b040e5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL