]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-143195: fix UAF in `{bytearray,memoryview}.hex(sep)` via re-entrant `sep...
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sat, 27 Dec 2025 12:58:42 +0000 (12:58 +0000)
committerGitHub <noreply@github.com>
Sat, 27 Dec 2025 12:58:42 +0000 (12:58 +0000)
commit8aca2fd87cda966935b712424a30e4afe54220b9
treed46accdfd1cbbdeb70d96e48df546c3f53ba7bff
parent833fbe9ea0cffac53b8d4a0ceeefbebdcc31d819
[3.13] gh-143195: fix UAF in `{bytearray,memoryview}.hex(sep)` via re-entrant `sep.__len__` (GH-143209) (#143220)

(cherry picked from commit 9976c2b6349a079ae39931d960b8c147e21c6c3f)
Lib/test/test_bytes.py
Lib/test/test_memoryview.py
Misc/NEWS.d/next/Core and Builtins/2025-12-27-10-14-26.gh-issue-143195.MNldfr.rst [new file with mode: 0644]
Objects/bytearrayobject.c
Objects/memoryobject.c