[issue13096] ctypes: segfault with large POINTER type names

Meador Inge report at bugs.python.org
Tue Oct 4 05:51:56 CEST 2011


Meador Inge <meadori at gmail.com> added the comment:

There is similar crasher to this one that can be reproduced like:

[meadori at motherbrain cpython]$ ./python 
Python 3.3.0a0 (default:61de28fa5537+d05350c14e77+, Oct  3 2011, 21:47:04) 
[GCC 4.6.0 20110603 (Red Hat 4.6.0-10)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ctypes import *
>>> p = POINTER('x' * 2 ** 25)
Segmentation fault (core dumped)

It should be fixed as well.

----------

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


More information about the Python-bugs-list mailing list