2 comments

[ 5.1 ms ] story [ 15.8 ms ] thread
Does Marshal dumps work across different computers or is it only compitable with the same computer that dumped the Marshal?
I thought Marshal and non-safe yaml are fundamentally unsafe. You’re allowing input to instantiate arbitrary objects. It’s relatively easy to find an exploitable class.

Python’s pickle function is equivalent and has a warning about this.