[issue25300] Enable Intel MPX (Memory protection Extensions) feature

Antoine Pitrou report at bugs.python.org
Thu Oct 8 05:34:07 EDT 2015


Antoine Pitrou added the comment:

The small object allocator uses large mmap-allocated arenas of 256 KB (IIRC) and carves small objects out of it.  So unless the pointer returned by PyObject_Malloc() has its bounds set manually using one of the intrinsic functions (*), MPX would believe the bounds of small objects are the bounds of the 256 KB arenas containing them, right?

(*) I'm assuming __bnd_set_ptr_bounds()

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25300>
_______________________________________


More information about the Python-bugs-list mailing list