Skip to content

Commit

Permalink
Removed 'marshal' from the list of "ok" built-in functions -- the
Browse files Browse the repository at this point in the history
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 :-(
  • Loading branch information
gvanrossum committed Mar 21, 1997
1 parent cff088a commit 35d48e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/rexec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 35d48e9

Please sign in to comment.