New submission from STINNER Victor <victor.stin...@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
messages: 106702
nosy: haypo
priority: normal
severity: normal
status: open
title: Remove "w" format of PyParse_ParseTuple()
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8850>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to