Staging
v0.8.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
example_nt
os2vacpp
WinMain.c -rw-r--r-- 482 bytes
_winreg.c -rw-r--r-- 41.9 KB
config.c -rw-r--r-- 2.8 KB
config.h -rw-r--r-- 17.1 KB
dl_nt.c -rw-r--r-- 906 bytes
dllbase_nt.txt -rw-r--r-- 2.2 KB
frozen_dllmain.c -rw-r--r-- 3.6 KB
getpathp.c -rw-r--r-- 15.4 KB
import_nt.c -rw-r--r-- 2.4 KB
msvcrtmodule.c -rwxr-xr-x 4.8 KB
py.ico -rw-r--r-- 766 bytes
pyc.ico -rw-r--r-- 766 bytes
pycon.ico -rw-r--r-- 766 bytes
python.mk -rw-r--r-- 234 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 2.2 KB
readme.txt -rw-r--r-- 4.1 KB
testpy.py -rw-r--r-- 850 bytes
w9xpopen.c -rw-r--r-- 3.5 KB
winsound.c -rw-r--r-- 6.5 KB

readme.txt

back to top