A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-May/100221.html below:

[Python-Dev] Adding a new C API function in 2.6

[Python-Dev] Adding a new C API function in 2.6 [Python-Dev] Adding a new C API function in 2.6Antoine Pitrou solipsis at pitrou.net
Thu May 20 21:32:53 CEST 2010
Hello,

I would like to check that it's possible to a new C API function in the
2.6 branch, on the basis that it would help solve what seems to be
reported as a security problem by several vendors (including Linux
distributions) -- see http://bugs.python.org/issue5753 for a thorough
discussion.

The change is rather minimal at the code level; it adds a new function
PySys_SetArgvEx which has an additional flag telling it whether to
update sys.path or not. The existing PySys_SetArgv function
unconditionally updates sys.path, which can allow shadowing of stdlib
or third-party library modules by an attacker.

Thank you

Antoine.


More information about the Python-Dev mailing list

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