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 <rep...@bugs.python.org>
<http://bugs.python.org/issue25300>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to