[New-bugs-announce] [issue12881] ctypes: segfault with large structure field names
Meador Inge
report at bugs.python.org
Fri Sep 2 05:50:52 CEST 2011
New submission from Meador Inge <meadori at gmail.com>:
Reproduced on Fedora 15 with tip Python:
[meadori at motherbrain cpython]$ ./python
Python 3.3.0a0 (default:3102951cc1ce+, Sep 1 2011, 22:19:06)
[GCC 4.6.0 20110603 (Red Hat 4.6.0-10)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
[68588 refs]
>>> class S(ctypes.Structure):
... _fields_ = [('x' * 10000000, ctypes.c_int)]
...
Segmentation fault (core dumped)
----------
components: ctypes
messages: 143376
nosy: amaury.forgeotdarc, belopolsky, meadori
priority: normal
severity: normal
stage: needs patch
status: open
title: ctypes: segfault with large structure field names
type: crash
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12881>
_______________________________________
More information about the New-bugs-announce
mailing list