Skip to content

Conversation

@tiran
Copy link
Member

@tirantiran 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>
@tirantiran changed the title bpo-43362: Fix invalid free and return check in _sha3 modulebpo-43362: Fix invalid free and return check in _sha3 module (GH-25463)Apr 18, 2021
@tirantiran merged commit aa6da32 into python:masterApr 18, 2021
@tirantiran deleted the bpo-43362-sha3-free branch April 18, 2021 06:39
Sign up for freeto 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

@tiran@the-knights-who-say-ni@bedevere-bot