diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-09 19:14:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 19:14:47 (GMT) |
commit | 846cfb9a67fa4bdb81cd482a4a9e41a089ea80b3 (patch) | |
tree | b70c91b748e78106dbf3406ecf28cbe461fe1129 /Python/pythonrun.c | |
parent | 098eec9a1549b39ca55cfd59a9432698bfa07773 (diff) | |
download | cpython-846cfb9a67fa4bdb81cd482a4a9e41a089ea80b3.zip cpython-846cfb9a67fa4bdb81cd482a4a9e41a089ea80b3.tar.gz cpython-846cfb9a67fa4bdb81cd482a4a9e41a089ea80b3.tar.bz2 |
[3.13] gh-118561: Fix crash involving list.extend in free-threaded build (GH-118723) (#118863)
The `list_preallocate_exact` function did not zero initialize array
contents. In the free-threaded build, this could expose uninitialized
memory to concurrent readers between the call to
`list_preallocate_exact` and the filling of the array contents with
items.
(cherry picked from commit 2402715e10d00ef60fad2948d8461559d084eb36)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions