New submission from David Macek:

Two Cygwin-specific sections in `Modules/_ctypes/_ctypes.c` cause a crash due 
to bad call to `PyErr_Format`. I'm not sure if there's one extra format 
specifier, or one argument is missing. Patches assuming the former case for 
v2.7 and v3.3:

https://github.com/Alexpux/MSYS2-packages/blob/master/python3/3.3-wrong-parameters.patch

https://github.com/Alexpux/MSYS2-packages/blob/master/python2/0260-wrong-parameters.patch

----------
components: ctypes
files: 3.3-wrong-parameters.patch
keywords: patch
messages: 238101
nosy: elieux
priority: normal
severity: normal
status: open
title: Crash on failure in ctypes on Cygwin
type: crash
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file38486/3.3-wrong-parameters.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23663>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to