]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-142560: prevent use-after-free in search-like methods by exporting buffer...
authorCody Maloney <cmaloney@users.noreply.github.com>
Wed, 24 Dec 2025 19:13:47 +0000 (11:13 -0800)
committerGitHub <noreply@github.com>
Wed, 24 Dec 2025 19:13:47 +0000 (19:13 +0000)
commita9e068f0be93f197818f9722e0add7ab37a3c620
tree68e414ab132734be4f016d14d125e79686a565c3
parent88025560aa2c275b811907ef21e9cb7e09cdcdca
[3.13] gh-142560: prevent use-after-free in search-like methods by exporting buffer in bytearray (GH-142938) (GH-142986)

(cherry picked from commit 220f0b107776391201a399c54dd01692c36fcdf4)

Co-authored-by: wangxiaolei <fatelei@gmail.com>
Lib/test/test_bytes.py
Misc/NEWS.d/next/Core and Builtins/2025-12-11-22-59-33.gh-issue-142560.GkJrkk.rst [new file with mode: 0644]
Objects/bytearrayobject.c