mirror of
https://github.com/python/cpython
synced 2026-09-26 16:21:04 +03:00
Fix mimalloc allocator for huge memory allocation (around 8,589,934,592 GiB) on s390x. Abort allocation early in mimalloc if the number of slices doesn't fit into uint32_t, to prevent a integer overflow (cast 64-bit size_t to uint32_t).
2 lines
112 B
ReStructuredText
2 lines
112 B
ReStructuredText
Fix mimalloc allocator for huge memory allocation (around 8,589,934,592 GiB) on
|
|
s390x. Patch by Victor Stinner.
|