OlderDiff < 20101125T234355Z < ThisDiff > 20101126T234859Z > NewerDiff
OLDREV 29901 NEWREV 29943 CHG ChangeLog 29901->29943 CHG re.c 25430->29933 CHG version.h 29899->29943 CHG ext/dl/extconf.rb 11708->29943 CHG ext/iconv/charset_alias.rb 27034->29943 CHG win32/Makefile.sub 29424->29935 CHG win32/resource.rb 22908->29943 =================================================================== +++ 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 - <n>) 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 - <n>) /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/setbyte_spec.rb String#setbyte @@ 35698 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/bin/mspec-run:8 <n>) +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/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/scan_spec.rb:82 +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/scan_spec.rb:82:in `each' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/scan_spec.rb:82 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/scan_spec.rb:74:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `each' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `all?' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 35719 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/scan_spec.rb:5 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 35733 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/bin/mspec-run:8 <n>) +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/<buildtime>/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/scan_spec.rb:179 +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/scan_spec.rb:179:in `scan' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/scan_spec.rb:179 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 35754 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/context.rb:199:in `process' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:37:in `describe' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/object.rb:11:in `describe' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/scan_spec.rb:95 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `load' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:56:in `files' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' @@ 38600 @@ Finished in <t> seconds +3286 files, 13683 examples, <num> expectations, 73 failures, 58 errors exit 1 failed(rubyspec) == end # <time> =================================================================== --- 20101125T234355Z @@ 3047 @@ /usr/bin/install -c -d ../../../.ext/common/digest cp ../../.././ext/digest/sha2/lib/sha2.rb ../../../.ext/common/digest compiling dl -/Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/ruby/ext/dl/extconf.rb:25: Use RbConfig instead of obsolete and deprecated Config. gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -DRUBY_DEBUG_ENV -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -fno-common -O2 -g -W -Wall -Wformat=2 -Wundef -Wno-parentheses -Wno-unused-parameter -Wno-missing-field-initializers -pipe -fno-defer-pop -fno-omit-frame-pointer -o handle.o -c handle.c Generating callback.func Generating cbtable.func @@ 20490 @@ - 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 String#scan with pattern and block - returns self @@ 20499 @@ - 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 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8-pth/<buildtime>/rubyspec/core/string/setbyte_spec.rb String#setbyte @@ 38531 @@ Finished in <t> seconds -3286 files, 13683 examples, <num> expectations, 71 failures, 58 errors exit 1 failed(rubyspec) == end # <time>
OlderDiff < 20101125T234355Z < ThisDiff > 20101126T234859Z > NewerDiff