Skip to content

Instantly share code, notes, and snippets.

@nddrylliog
Created September 24, 2013 00:28
Show Gist options
  • Save nddrylliog/6678859 to your computer and use it in GitHub Desktop.
Save nddrylliog/6678859 to your computer and use it in GitHub Desktop.
$ git diff
diff --git a/kernel/common/marshal.rb b/kernel/common/marshal.rb
index 688c24c..9bff937 100644
--- a/kernel/common/marshal.rb
+++ b/kernel/common/marshal.rb
@@ -546,6 +546,10 @@ module Marshal
call obj if @proc and call_proc
+ if obj.frozen?
+ STDERR.puts 'frozen object: ', obj.inspect, 'stream :', @stream.inspect
+ end
+
@stream.tainted? ? obj.taint : obj
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment