[issue19969] PyBytes_FromFormatV("%c") and PyString_FromFormatV("%c") don't check for character min/max value

STINNER Victor report at bugs.python.org
Fri Dec 13 01:29:48 CET 2013


New submission from STINNER Victor:

PyBytes_FromFormatV("%c") and PyString_FromFormatV("%c") overflow if the parameter is not in range [0; 255].

If nobody complained before, it's maybe not worth to fix the bug in Python 2.7 or 3.3.

----------
components: Interpreter Core
messages: 205996
nosy: haypo
priority: normal
severity: normal
status: open
title: PyBytes_FromFormatV("%c") and PyString_FromFormatV("%c") don't check for character min/max value

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


More information about the Python-bugs-list mailing list