[issue14722] Overflow in parsing 'float' parameters in PyArg_ParseTuple*

Serhiy Storchaka report at bugs.python.org
Fri May 4 16:37:17 CEST 2012


New submission from Serhiy Storchaka <storchaka at gmail.com>:

In function convertsimple() in Python/getargs.c possible converting out of float range value from double to float.

Fortunately, 'f' format character is not used in CPython source code. But it can be used in the extensions.

Tests will be later.

----------
components: Interpreter Core
files: getargs_float_overflow.patch
keywords: patch
messages: 159937
nosy: storchaka
priority: normal
severity: normal
status: open
title: Overflow in parsing 'float' parameters in PyArg_ParseTuple*
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file25454/getargs_float_overflow.patch

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


More information about the Python-bugs-list mailing list