◐ Shell
clean mode source ↗

bpo-1635741: port sha3 module to multi-phase init by koubaa · Pull Request #21855 · python/cpython

shihai1991

vstinner

vstinner

@koubaa

vstinner

shihai1991

@koubaa

shihai1991

vstinner

@koubaa

vstinner

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner

vstinner

@koubaa

xzy3 pushed a commit to xzy3/cpython that referenced this pull request

Oct 18, 2020
Port the _sha3 extension module to multi-phase init (PEP 489).
Convert static types to heap types.

tiran added a commit to tiran/cpython that referenced this pull request

Apr 17, 2021
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 mentioned this pull request

Apr 17, 2021

tiran added a commit that referenced this pull request

Apr 18, 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>

Co-authored-by: Alex Henrie <alexhenrie24@gmail.com>

@kylotan kylotan mannequin mentioned this pull request

Sep 19, 2022