[issue12881] ctypes: segfault with large structure field names

Amaury Forgeot d'Arc report at bugs.python.org
Mon Sep 12 09:57:34 CEST 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Note that there is at least one other place where alloca() is used with potentially large values: the POINTER() function in callproc.c.
Also, PyUnicode_FromFormat could be used instead of sprintf.

----------

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


More information about the Python-bugs-list mailing list