A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-November/018729.html below:

[Python-Dev] sprintf() usage (Re: mysnprintf broken)

[Python-Dev] sprintf() usage (Re: mysnprintf broken) [Python-Dev] sprintf() usage (Re: mysnprintf broken)M.-A. Lemburg mal@lemburg.com
Tue, 27 Nov 2001 11:53:14 +0100
Grepping through the Python source code there are 191
usages of sprintf() -- shouldn't these be modified to
use PyOS_snprintf() instead ?

Python/getargs.c would be a particularly important case
to fix, since the sprintf()s in there are not protected
against buffer overflows -- it seems that long function 
names could be used to exploit this, e.g. in multi-user
environments like Zope to obtain admin priviledges.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4