Created
September 24, 2013 00:28
-
-
Save nddrylliog/6678859 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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