[Python-Dev] libffi embedded in CPython (original) (raw)

Maciej Fijalkowski fijall at gmail.com
Thu Dec 18 20:50:58 CET 2014


well, the problem is essentially that libffi gets patched (e.g. for ARM) and it does not make it's way to CPython quickly. This is unlikely to be a security issue (for a variety of reasons, including ctypes), but it's still an issue I think. Segfaults related to e.g. stack alignment are hard to debug

On Thu, Dec 18, 2014 at 9:30 PM, Benjamin Peterson <benjamin at python.org> wrote:

On Thu, Dec 18, 2014, at 14:13, Maciej Fijalkowski wrote: After reading this http://bugs.python.org/issue23085 and remembering struggling having our own patches into cpython's libffi (but not into libffi itself), I wonder, is there any reason any more for libffi being included in CPython? It has some sort of Windows related patches. No one seems to know whether they're still needed for newer libffi. Unfortunately, ctypes doesn't currently have a maintainer.



More information about the Python-Dev mailing list