[New-bugs-announce] [issue3977] Check PyInt_AsSsize_t/PyLong_AsSsize_t error
STINNER Victor
report at bugs.python.org
Fri Sep 26 19:36:02 CEST 2008
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
PyLong_Ssize_t() returns -1 and set an error (OverflowError) on
overflow, but some modules don't check this case. Here is a first patch
for BytesIO() and StringIO().
----------
components: Library (Lib)
files: py3k_bytes_stringio.patch
keywords: patch
messages: 73868
nosy: haypo
severity: normal
status: open
title: Check PyInt_AsSsize_t/PyLong_AsSsize_t error
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file11615/py3k_bytes_stringio.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3977>
_______________________________________
More information about the New-bugs-announce
mailing list