Skip to content

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
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.

3 participants