Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 9, 2024

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 2402715)

Co-authored-by: Sam Gross [email protected]

…ld (pythonGH-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.
(cherry picked from commit 2402715)

Co-authored-by: Sam Gross <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants