]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-131316: handle NULL values returned by HACL* functions (#131324)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mon, 17 Mar 2025 10:10:39 +0000 (11:10 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Mar 2025 10:10:39 +0000 (11:10 +0100)
commit261633bd3f48607478f50d12d8025cd4bb36f6f4
treebb887deb5c0e617b3109fcee85ebcf91ffbe91ed
parentde8890f5ab1c1e767029d46c20f513beefc47b18
gh-131316: handle NULL values returned by HACL* functions  (#131324)

- Handle NULL returned by allocation functions.
- Handle NULL returned by copy functions.
- Suppress unused impossible return codes.
Modules/blake2module.c
Modules/md5module.c
Modules/sha1module.c
Modules/sha2module.c
Modules/sha3module.c