]> granicus.if.org Git - python/commitdiff
Removed 'marshal' from the list of "ok" built-in functions -- the
authorGuido van Rossum <guido@python.org>
Fri, 21 Mar 1997 21:18:16 +0000 (21:18 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 21 Mar 1997 21:18:16 +0000 (21:18 +0000)
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 :-(

Lib/rexec.py

index 89904dce34f02a39e81e2e9715d41eaf19d1be95..29b9ad6649a96e925a94e2cc12afaa127d0ebf90 100644 (file)
@@ -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')