Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

No, unlike to marshal the pickle format is a Turing-complete language. Just 
loading pickle data can cause to execution of arbitrary code. marshal is more 
"safe" in this regard -- in worst case you can just crash when load it.

It may be interesting to make marshal deserialization more robust if it does 
not affect performance. But it would be a new feature, not a bug fix, and not a 
security fix.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41208>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to