[issue9096] importlib doesn't handle valid marshalled data with invalid semantics

Benjamin Peterson report at bugs.python.org
Mon Jun 28 02:28:20 CEST 2010


New submission from Benjamin Peterson <benjamin at python.org>:

get_code() returns marshal.loads(self.get_data()). If get_data() returns valid marhsal data that is not a code object, get_code() will explode when it tries to exec it with a TypeError not the expected ValueError.

----------
assignee: brett.cannon
messages: 108810
nosy: benjamin.peterson, brett.cannon
priority: normal
severity: normal
status: open
title: importlib doesn't handle valid marshalled data with invalid semantics

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9096>
_______________________________________


More information about the Python-bugs-list mailing list