From 3ee6b195bbe8272b5901f3f97c0966ddd4bb72fa Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 21 Mar 1997 21:18:16 +0000 Subject: [PATCH] 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 :-( --- Lib/rexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/rexec.py b/Lib/rexec.py index 89904dce34f..29b9ad6649a 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')