From: Guido van Rossum Date: Fri, 21 Mar 1997 21:18:16 +0000 (+0000) Subject: Removed 'marshal' from the list of "ok" built-in functions -- the X-Git-Tag: v1.5a1~268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ee6b195bbe8272b5901f3f97c0966ddd4bb72fa;p=python 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 :-( --- diff --git a/Lib/rexec.py b/Lib/rexec.py index 89904dce34..29b9ad6649 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')