From 73bfa994dca546d8dac97372100261c83a8da9b7 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 4 Dec 2015 07:48:22 +0000 Subject: string.c: should not taint fstring * string.c (rb_obj_as_string): fstring should not be infected. re-apply r52872 and fix a typo. TODO: other frozen strings also may not be. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- KNOWNBUGS.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'KNOWNBUGS.rb') diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index d53bdb753b..b97a08d928 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -3,12 +3,3 @@ # So all tests will cause failure. # -assert_equal 'false', %q{ - x = Object.new.taint - class << x - def to_s; "foo".freeze; end - end - x.taint - [x].join("") - eval '"foo".freeze.tainted?' -} -- cgit v1.2.3