[New-bugs-announce] [issue8850] Remove "w" format of PyParse_ParseTuple()
report at bugs.python.org
Sat May 29 04:24:20 CEST 2010
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
"w" format is dangerous because it doesn't give the size of the buffer: the caller may write outside the buffer (buffer overflow).
"w*" and "w#" formats are fine.
It looks like "w" format is not used in trunk nor py3k (only w# and w*).
components: Interpreter Core
title: Remove "w" format of PyParse_ParseTuple()
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce