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

2011-09-04 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f19d00b5220a by Amaury Forgeot d'Arc in branch '3.2': Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to http://hg.python.org/cpython/rev/f19d00b5220a --

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

2011-08-30 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4aa00f465b4f by Amaury Forgeot d'Arc in branch '2.7': Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to http://hg.python.org/cpython/rev/4aa00f465b4f --

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

2011-08-30 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5df1609fbd8f by Amaury Forgeot d'Arc in branch '3.2': Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to http://hg.python.org/cpython/rev/5df1609fbd8f New changeset d8c73a7d65f8 by Amaury

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

2011-08-30 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9651

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

2011-08-17 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Ping. I think this one is OK to commit. -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9651 ___

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

2011-04-16 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: This crash still occurs in the main development branch and Amaury's patch still fixes the problem. I verified that all tests pass on OS X 10.6.5. It should be OK to commit. -- assignee: theller - nosy: +meador.inge -theller versions:

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

2011-03-07 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: Looks good to me. -- nosy: +Trundle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9651 ___

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

2010-08-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Confirmed on all versions since 2.6. Patch attached. -- keywords: +patch nosy: +amaury.forgeotdarc stage: - patch review Added file: http://bugs.python.org/file18595/ctypes-buffer.patch ___

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

2010-08-20 Thread André Bjärby
New submission from André Bjärby andre.bja...@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