Staging
v0.5.1
https://github.com/python/cpython
Revision c883ad633c45540a82788d3e69d1aeca5e18ebe1 authored by Guido van Rossum on 31 May 2002, 21:19:53 UTC, committed by Guido van Rossum on 31 May 2002, 21:19:53 UTC
SF bug 533625 (Armin Rigo). rexec: potential security hole

If a rexec instance allows writing in the current directory (a common
thing to do), there's a way to execute bogus bytecode.  Fix this by
not allowing imports from .pyc files (in a way that allows a site to
configure things so that .pyc files *are* allowed, if writing is not
allowed).
1 parent a5fd7ba
History
Tip revision: c883ad633c45540a82788d3e69d1aeca5e18ebe1 authored by Guido van Rossum on 31 May 2002, 21:19:53 UTC
Backport to 2.1.x:
Tip revision: c883ad6
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 2.3 KB
LICENSE -rw-r--r-- 11.5 KB
Makefile.pre.in -rw-r--r-- 21.8 KB
README -rw-r--r-- 38.8 KB
acconfig.h -rw-r--r-- 6.3 KB
config.h.in -rw-r--r-- 17.1 KB
configure -rwxr-xr-x 181.7 KB
configure.in -rw-r--r-- 38.2 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 25.2 KB

README

back to top