[issue9651] ctypes crash when writing zerolength string buffer to file

André Bjärby report at bugs.python.org
Fri Aug 20 19:10:02 CEST 2010


New submission from André Bjärby <andre.bjarby at gmail.com>:

The attached (5 line) file will crash ctypes (Python 2.6.6rc2) with a "Floating point exception" (division by zero at _ctypes.c:2533).

There's no crash with python 2.5.5

----------
assignee: theller
components: ctypes
files: test.py
messages: 114430
nosy: andbj, theller
priority: normal
severity: normal
status: open
title: ctypes crash when writing zerolength string buffer to file
type: crash
versions: Python 2.6
Added file: http://bugs.python.org/file18586/test.py

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


More information about the Python-bugs-list mailing list