summaryrefslogtreecommitdiffstats
path: root/Lib/rexec.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-03-21 21:18:16 (GMT)
committerGuido van Rossum <guido@python.org>1997-03-21 21:18:16 (GMT)
commit3ee6b195bbe8272b5901f3f97c0966ddd4bb72fa (patch)
treee6a1a3b4003d9b653252e1ac928a7e7d8f8d0be1 /Lib/rexec.py
parentbcd91e07d10f8773c9e378453bdbf7f7996b9ba8 (diff)
downloadcpython-3ee6b195bbe8272b5901f3f97c0966ddd4bb72fa.zip
cpython-3ee6b195bbe8272b5901f3f97c0966ddd4bb72fa.tar.gz
cpython-3ee6b195bbe8272b5901f3f97c0966ddd4bb72fa.tar.bz2
Removed 'marshal' from the list of "ok" built-in functions -- the
unmarshalling code is actually rather naive and can easily be caused to crash by feeding it invalid data. This should be fixed in the marshal module, but I don't have the time to fix it now :-(
Diffstat (limited to 'Lib/rexec.py')
-rw-r--r--Lib/rexec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py
index 89904dc..29b9ad6 100644
--- a/Lib/rexec.py
+++ b/Lib/rexec.py
@@ -133,7 +133,7 @@ class RExec(ihooks._Verbose):
ok_builtin_modules = ('audioop', 'array', 'binascii',
'cmath', 'errno', 'imageop',
- 'marshal', 'math', 'md5', 'operator',
+ 'math', 'md5', 'operator',
'parser', 'regex', 'rotor', 'select',
'strop', 'struct', 'time')