Zero times repeat of tainted arrays


#1

Yuguie$B$G$9!#e(B

[ruby-dev:26900]e$B$N5DO@$K$h$j<!$NJ8;zNs$O1x@w$5$l$F$$$k$H8@$&$3$H$K$J$C$?e(B
e$B$h$&$G$9!#e(B
“x”.taint * 0

e$B0lJ}!"e(B1.8e$B!“e(Btrunk,
1.9.1e$B$H$b!”<!$NG[Ns$O1x@w$5$l$F$$$^$;$s!#e(B
[:x].taint * 0

e$BJ8;zNs$N>l9g$HF1$8$/1x@w$5$l$F$$$k$Y$-$G$O$J$$$G$7$g$&$+!#$^$?!"e(B
untrustede$B@-$K$D$$$F$bF1$8$/$G$9!#e(B

e$B$H$$$C$F$b!“6u$J$b$N$r?7$?$K@8@.$7$F$$$k$N$K1x@w$5$l$F$$$k$H$$$&$N$O:#$Re(B
e$B$H$D<aA3$H$7$J$$$b$N$O$”$j$^$9!#e(B


#2

e$B<:Ni$7$^$7$?!#ESCf$GAw?.$7$F$7$^$$$^$7$?!#e(B

Yugui (Yuki S.) e$B$5$s$O=q$-$^$7$?e(B:

e$B$H$$$C$F$b!“6u$J$b$N$r?7$?$K@8@.$7$F$$$k$N$K1x@w$5$l$F$$$k$H$$$&$N$O:#$Re(B
e$B$H$D<aA3$H$7$J$$$b$N$O$”$j$^$9!#e(B

e$B$G!"<B:]!“6u$N1x@w$5$l$?G[Ns$re(Bjoine$B$9$k$H1x@w$5$l$F$$$J$$J8;zNs$,$G$-$”$,e(B
e$B$k$s$G$9$h$M!#e(B
[].taint.join.tainted? #=> true

e$B;d$O$3$l$O<+A3$@$H;W$$$^$9!#e(B(“x”.taint * 0).tainted? #=> true
e$B$O@5$7$+$Ce(B
e$B$?$N$G$7$g$&$+!#e(B