]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-142557: fix UAF in `bytearray.__mod__` when object is mutated while formatt...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 27 Dec 2025 15:23:08 +0000 (16:23 +0100)
committerGitHub <noreply@github.com>
Sat, 27 Dec 2025 15:23:08 +0000 (15:23 +0000)
commitfd9db61a25019b982d2588270526c3c7e6438687
tree27cdcc5c6a332a24ff6145661cdf59579c2ab9db
parentbbe9ed95d48ee37645a5609f85d47bcfa95aa7ee
[3.14] gh-142557: fix UAF in `bytearray.__mod__` when object is mutated while formatting `%`-style arguments (GH-143213) (#143227)

gh-142557: fix UAF in `bytearray.__mod__` when object is mutated while formatting `%`-style arguments (GH-143213)
(cherry picked from commit 61ee04834b096be00678c6819b4957f3f4413a5e)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/test/test_bytes.py
Misc/NEWS.d/next/Core_and_Builtins/2025-12-27-12-25-06.gh-issue-142557.KWOc8b.rst [new file with mode: 0644]
Objects/bytearrayobject.c