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

bpo-43362: Fix invalid free and return check in _sha3 module (GH-25463) #25463

Merged
merged 1 commit into from Apr 18, 2021

Conversation

tiran
Copy link
Member

@tiran tiran commented Apr 17, 2021

Commit 93d50a6 / GH-21855 changed the
order of variable definitions, which introduced a potential invalid free
bug. Py_buffer object is now initialized earlier and the result of
Keccak initialize is verified.

Co-authored-by: Alex Henrie alexhenrie24@gmail.com
Signed-off-by: Christian Heimes christian@python.org

https://bugs.python.org/issue43362

Commit 93d50a6 / pythonGH-21855 changed the
order of variable definitions, which introduced a potential invalid free
bug. Py_buffer object is now initialized earlier and the result of
Keccak initialize is verified.

Co-authored-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Christian Heimes <christian@python.org>
@tiran tiran changed the title bpo-43362: Fix invalid free and return check in _sha3 module bpo-43362: Fix invalid free and return check in _sha3 module (GH-25463) Apr 18, 2021
@tiran tiran merged commit aa6da32 into python:master Apr 18, 2021
@tiran tiran deleted the bpo-43362-sha3-free branch April 18, 2021 06:39
kreathon pushed a commit to kreathon/cpython that referenced this pull request May 2, 2021
…H-25463)

Commit 93d50a6 / pythonGH-21855 changed the
order of variable definitions, which introduced a potential invalid free
bug. Py_buffer object is now initialized earlier and the result of
Keccak initialize is verified.

Co-authored-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Christian Heimes <christian@python.org>

Co-authored-by: Alex Henrie <alexhenrie24@gmail.com>
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.

None yet

3 participants