summaryrefslogtreecommitdiffstats
path: root/Python/getplatform.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-05-09 18:52:27 (GMT)
committerGitHub <noreply@github.com>2024-05-09 18:52:27 (GMT)
commit2402715e10d00ef60fad2948d8461559d084eb36 (patch)
treed51f944413b662d75594bbbe9cbcb0e0c0db6f22 /Python/getplatform.c
parent82abe75e77129bebb3c13d807e8040f6924194f6 (diff)
downloadcpython-2402715e10d00ef60fad2948d8461559d084eb36.zip
cpython-2402715e10d00ef60fad2948d8461559d084eb36.tar.gz
cpython-2402715e10d00ef60fad2948d8461559d084eb36.tar.bz2
gh-118561: Fix crash involving list.extend in free-threaded build (#118723)
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.
Diffstat (limited to 'Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions