[issue27987] obmalloc's 8-byte alignment causes undefined behavior

Stefan Krah report at bugs.python.org
Tue Oct 24 12:24:36 EDT 2017


Stefan Krah <stefan at bytereef.org> added the comment:

Since we have "#define PYMEM_FUNCS PYOBJ_FUNCS", I think extensions that
use PyMem_Malloc() also won't get the glibc max_align_t alignment.

But guess technically they should.

----------
nosy: +skrah

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27987>
_______________________________________


More information about the Python-bugs-list mailing list