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 =================================================================== +++ 20101126T234859Z @@ 20489 @@ - 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 @@ 20498 @@ - 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 - ) /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/setbyte_spec.rb String#setbyte @@ 35698 @@ /Users/chkbuild/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 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:82 +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:82:in `each' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:82 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:74:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `each' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 35719 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:199:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:5 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 35733 @@ /Users/chkbuild/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 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:179 +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:179:in `scan' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:179 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 35754 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/context.rb:199:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//rubyspec/core/string/scan_spec.rb:95 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 38600 @@ Finished in seconds +3286 files, 13683 examples, expectations, 73 failures, 58 errors exit 1 failed(rubyspec) == end #