]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-145376: Fix crashes in md5module.c (GH-145422) (#145611)
authorPieter Eendebak <pieter.eendebak@gmail.com>
Fri, 6 Mar 2026 22:24:20 +0000 (23:24 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Mar 2026 22:24:20 +0000 (22:24 +0000)
commitae7206eb3b0153d126e8d5241e4f8a5aaeb9101b
treec4fb73dc95d1f2333f543dcfef217bd2311fde6c
parent16dbbe56f0232e0e9b8dcc3aed2ba78d2048aaf8
[3.13] gh-145376: Fix crashes in md5module.c (GH-145422) (#145611)

* gh-145376: Fix crashes in md5module.c

Fix a possible NULL pointer dereference in `md5module.c`.
This can only occur in error paths taken when the interpreter fails to allocate memory.

(cherry-picked from c1d77683213c400fca144692654845e6f5418981)

* ðŸ“œðŸ¤– Added by blurb_it.

* Update Modules/md5module.c

---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Misc/NEWS.d/next/Library/2026-03-06-20-17-45.gh-issue-145376.0F7HFq.rst [new file with mode: 0644]
Modules/md5module.c