]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-142557: fix UAF in `bytearray.__mod__` when object is mutated while formatt...
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sat, 27 Dec 2025 17:20:49 +0000 (17:20 +0000)
committerGitHub <noreply@github.com>
Sat, 27 Dec 2025 17:20:49 +0000 (17:20 +0000)
commit19fda670d6061584de873ba8f9c27aad742c0fbb
treebb6b140d6e5e6f73033f9e561bcf8d38ddf11ac5
parentb3a0d15e3bfa7ae49a4a8b09fc0cee880ffd2946
[3.13] gh-142557: fix UAF in `bytearray.__mod__` when object is mutated while formatting `%`-style arguments (GH-143213) (#143229)

(cherry picked from commit 61ee04834b096be00678c6819b4957f3f4413a5e)
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