[New-bugs-announce] [issue16126] PyErr_Format format mismatch in _testcapimodule.c

Serhiy Storchaka report at bugs.python.org
Thu Oct 4 09:11:10 CEST 2012


New submission from Serhiy Storchaka:

PyErr_Format in Modules/_testcapimodule.c uses illegal format specifier (%s) for Py_ssize_t argument. It causes crash:

import _testcapi
_testcapi.parse_tuple_and_keywords( (), {}, b'', [42])

----------
components: Extension Modules, Tests
files: testcapi_error_format_mismatch.patch
keywords: 3.3regression, patch
messages: 171923
nosy: storchaka
priority: normal
severity: normal
status: open
title: PyErr_Format format mismatch in _testcapimodule.c
type: crash
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file27409/testcapi_error_format_mismatch.patch

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


More information about the New-bugs-announce mailing list