summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-12-04 08:37:25 (GMT)
committerGitHub <noreply@github.com>2023-12-04 08:37:25 (GMT)
commit7e89dd99266c394b1fda6328eeca5f3fa3abb1b9 (patch)
treed2f7c041f629d2b444941ae11af9e93f00c53a05 /Misc
parent3eea835d85814b3cda8e43a49e7718060e701195 (diff)
downloadcpython-7e89dd99266c394b1fda6328eeca5f3fa3abb1b9.zip
cpython-7e89dd99266c394b1fda6328eeca5f3fa3abb1b9.tar.gz
cpython-7e89dd99266c394b1fda6328eeca5f3fa3abb1b9.tar.bz2
[3.11] gh-112625: Protect bytearray from being freed by misbehaving iterator inside bytearray.join (GH-112626) (GH-112694)
(cherry picked from commit 0e732d0997cff08855d98c17af4dd5527f10e419) Co-authored-by: chilaxan <chilaxan@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2023-12-03-19-34-51.gh-issue-112625.QWTlwS.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-12-03-19-34-51.gh-issue-112625.QWTlwS.rst b/Misc/NEWS.d/next/Core and Builtins/2023-12-03-19-34-51.gh-issue-112625.QWTlwS.rst
new file mode 100644
index 0000000..4970e10
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2023-12-03-19-34-51.gh-issue-112625.QWTlwS.rst
@@ -0,0 +1 @@
+Fixes a bug where a bytearray object could be cleared while iterating over an argument in the ``bytearray.join()`` method that could result in reading memory after it was freed.