[MacRuby] #870: Array#flatten can't copy status of untrust.
#870: Array#flatten can't copy status of untrust. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Test Script: {{{ #!ruby $ cat test_flatten.rb def assert_equal(a, b) p b p a == b puts "-----" end a = [[1, 2], 3] a.taint a.untrust b = a.flatten assert_equal(true, b.tainted?) assert_equal(true, b.untrusted?) }}} Result of Ruby 1.9.1: {{{ $ ruby test_flatten.rb true true ----- true true ----- }}} Result of MacRuby Trunk: {{{ $ macruby test_flatten.rb true true ----- false false ----- }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/870> MacRuby <http://macruby.org/>
#870: Array#flatten can't copy status of untrust. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by martinlagardette@…): Fixed with r4451 :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/870#comment:1> MacRuby <http://macruby.org/>
#870: Array#flatten can't copy status of untrust. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: minor | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by martinlagardette@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 -- Ticket URL: <http://www.macruby.org/trac/ticket/870#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby