Skip to content
Draft
4 changes: 4 additions & 0 deletions 2025-05-17-16-45-00.gh-issue-134070.vdhoke.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. gh-issue: 134070
.. section: Core and Builtins

Fixed an out-of-bounds read in the generic implementation of `mi_clz32` and `mi_ctz32` in the integrated mimalloc allocator. This bug could occur on platforms with 64-bit `unsigned long` values. Based on upstream fix from microsoft/mimalloc.
2 changes: 1 addition & 1 deletion Lib/tempfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def mkstemp(suffix=None, prefix=None, dir=None, text=False):

return _mkstemp_inner(dir, prefix, suffix, flags, output_type)


# TODO: Suggest AppContainer mkdtemp fix
def mkdtemp(suffix=None, prefix=None, dir=None):
"""User-callable function to create and return a unique temporary
directory. The return value is the pathname of the directory.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. gh-issue: 134070
.. section: Core and Builtins

Fixed an out-of-bounds read in the generic implementation of ``mi_clz32`` and ``mi_ctz32`` in the integrated mimalloc allocator. This bug could occur on platforms with 64-bit ``unsigned long`` values. Based on upstream fix from microsoft/mimalloc.
Loading