OLDREV 29901 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29901&diff_format=u NEWREV 29943 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29943&diff_format=u CHG ChangeLog 29901->29943 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?p1=branches/ruby_1_8/ChangeLog&r1=29901&r2=29943&pathrev=29943&diff_format=u CHG re.c 25430->29933 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/re.c?p1=branches/ruby_1_8/re.c&r1=29901&r2=29943&pathrev=29943&diff_format=u CHG version.h 29899->29943 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/version.h?p1=branches/ruby_1_8/version.h&r1=29901&r2=29943&pathrev=29943&diff_format=u CHG ext/dl/extconf.rb 11708->29943 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/dl/extconf.rb?p1=branches/ruby_1_8/ext/dl/extconf.rb&r1=29901&r2=29943&pathrev=29943&diff_format=u CHG ext/iconv/charset_alias.rb 27034->29943 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/iconv/charset_alias.rb?p1=branches/ruby_1_8/ext/iconv/charset_alias.rb&r1=29901&r2=29943&pathrev=29943&diff_format=u CHG win32/Makefile.sub 29424->29935 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/win32/Makefile.sub?p1=branches/ruby_1_8/win32/Makefile.sub&r1=29901&r2=29943&pathrev=29943&diff_format=u CHG win32/resource.rb 22908->29943 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/win32/resource.rb?p1=branches/ruby_1_8/win32/resource.rb&r1=29901&r2=29943&pathrev=29943&diff_format=u =================================================================== +++ 20101127T004249Z @@ 19100 @@ - supports \G which matches the end of the previous match / string start for first match - tries to convert pattern to a string via to_str - raises a TypeError if pattern isn't a Regexp and can't be converted to a String +- taints the match strings if self is tainted, unless the taint happens in the method call (FAILED - ) String#scan with pattern and block - returns self @@ 19109 @@ - sets $~ for access from the block - restores $~ after leaving the block - sets $~ to MatchData of last match and nil when there's none for access from outside +- taints the match strings if self is tainted, unless the tain happens inside the scan (FAILED - ) /home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/setbyte_spec.rb String#setbyte @@ 34341 @@ /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/bin/mspec-run:8 ) +String#scan taints the match strings if self is tainted, unless the taint happens in the method call FAILED +Expected true to equal false /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/matchers/base.rb:8:in `==' +/home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:82 +/home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:82:in `each' +/home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:82 /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' +/home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:74:in `all?' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `each' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `all?' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 34362 @@ /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:199:in `process' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' +/home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:5 /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `load' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `files' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 34376 @@ /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/bin/mspec-run:8 ) +String#scan with pattern and block taints the match strings if self is tainted, unless the tain happens inside the scan FAILED +Expected true to equal false /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/matchers/base.rb:8:in `==' +/home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:179 +/home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:179:in `scan' +/home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:179 /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 34397 @@ /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:199:in `process' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' +/home/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:95 /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `load' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `files' /home/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 37013 @@ Finished in seconds +3286 files, 13684 examples, expectations, 72 failures, 53 errors exit 1 failed(rubyspec) == end #