Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 20, 2008
  1. @shyouhei

    add tag v1_9_0_2

    shyouhei authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_0_2@17482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    * array.c (rb_ary_store, rb_ary_splice): not depend on unspecified

    nobu authored
      behavior at integer overflow.
    
    * string.c (str_buf_cat): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @nobu

    * array.c (rb_ary_store, rb_ary_splice): not depend on unspecified

    nobu authored
      behavior at integer overflow.
    
    * string.c (str_buf_cat): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @nobu

    * process.c (rb_detach_process): store detached process ID in the

    nobu authored
      thread local storage.  moved from lib/open3.rb.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @nobu

    * random.c (Init_RandomSeed2): should be void.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @nobu

    * tool/make-snapshot: fixed typo.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * string.c (rb_str_sub_bang): should preserve replacement points

    matz authored
      since they may be altered in the yielded block.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. @akr

    * string.c (rb_memhash): randomize hash to avoid algorithmic

    akr authored
      complexity attacks.
      (rb_str_hash): use rb_memhash.
    
    * include/ruby/intern.h (rb_reset_random_seed): declared.
    
    * thread.c (rb_thread_atfork): call rb_reset_random_seed.
    
    * inits.c (rb_call_inits): call Init_RandomSeed at first.
    
    * random.c (seed_initialized): defined.
      (fill_random_seed): extracted from random_seed.
      (make_seed_value): extracted from random_seed.
      (rb_f_rand): initialize random seed at first.
      (initial_seed): defined.
      (Init_RandomSeed): defined.
      (Init_RandomSeed2): defined.
      (rb_reset_random_seed): defined.
      (Init_Random): call Init_RandomSeed2.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 19, 2008
  1. @shyouhei

    add tag v1_9_0_2

    shyouhei authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_0_2@17464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @shyouhei

    * array.c (ary_new, rb_ary_initialize, rb_ary_store,

    shyouhei authored
      rb_ary_aplice, rb_ary_times): integer overflows should be
      checked. based on patches from Drew Yao <ayao at apple.com>
      fixed CVE-2008-2726
    
    * string.c (rb_str_buf_append): fixed unsafe use of alloca,
      which led memory corruption. based on a patch from Drew Yao
      <ayao at apple.com> fixed CVE-2008-2726
    
    * sprintf.c (rb_str_format): backported from trunk.
    
    * intern.h: ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @shyouhei

    add tag v1_9_0_2

    shyouhei authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_0_2@17458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @unak

    * process.c (rb_f_fork): NetBSD 4.0 or later can fork.

    unak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @mame

    * test/testunit/collector/test_dir.rb: r15825 made it unnecessary to …

    mame authored
    …change
    
      String to Symbol.
    
    * test/testunit/collector/test_objectspace.rb: ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @drbrain

    Update to RubyGems 1.1.1 r1784 (pre 1.2)

    drbrain authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. @mame

    * thread.c: try to remove false positive of deadlock detection (second

    mame authored
      trial).
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * lib/mathn.rb (Rational::power2): typo fixed. [ruby-core:17293]

    matz authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * string.c (str_gsub): should preserve last successful match

    matz authored
      data.  [ruby-dev:35182]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. @ko1

    * KNOWNBUGS.rb, bootstraptest/pending.rb: move a bug (?) to pending.

    ko1 authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. @ko1

    * proc.c (proc_new): fix to return Proc object if block is already

    ko1 authored
      in heap.  [ruby-core:15711]
    * bootstraptest/test_proc.rb: add a test.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. @ko1

    * thread_win32.c (native_sleep): fix to decrement sleeper count.

    ko1 authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. @mame

    * test/net/http/test_http.rb: compare encodings of two strings before

    mame authored
      comparing themself, which suppress too big error output.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. @mame

    * ext/json/ext/parser/parser.rl, ext/json/ext/parser/parser.c: JSON

    mame authored
      text SHALL be encoded in Unicode.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  15. @mame

    * thread.c, thread_win32.c, vm_core.h: try to remove false positive of

    mame authored
      deadlock detection.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  16. @akr

    add a test.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  17. @nobu

    * ext/extmk.rb (extmake): check if compile before showing message.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  18. @nobu

    * ext/extmk.rb (extmake): check if compile before showing message.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  19. @nobu

    * tool/make-snapshot: supported multiple snapshots.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  20. @znz

    * lib/net/pop.rb (Net::POP3#set_all_uids): speed

    znz authored
      up. a patch from <m-sumi AT techfirm.co.jp> [ruby-list:45047]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  21. * ext/etc/etc.c (Init_etc): define constant aliases Etc::Passwd

    matz authored
      and Etc::Group.  [ruby-dev:35150]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  22. * string.c (str_alloc): specify 'inline' modifier.

    matz authored
    * string.c (str_alloc): remove cSymbol hack that no longer
      necessary. 
    
    * string.c (scan_once): avoid retrieving encoding info unless
      necessary.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  23. * string.c (rb_str_scan): String#scan should preserve last

    matz authored
      successful match data.  [ruby-dev:35106]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  24. @unak

    * missing/acosh.c (atanh): should set ERANGE to errno if parameter

    unak authored
    	  is the boundary case. fixed [ruby-dev:35155]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  25. * ext/tk/lib/tkextlib/tile/treeview.rb: cannot configure tags.

    nagai authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  26. @ko1

    * test/ruby/test_enumerator.rb: fix to skip "with_memo" test.

    ko1 authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  27. @ko1

    * vm_insnhelper.c (vm_throw): fix "return" process from "lambda".

    ko1 authored
    * bootstraptest/test_proc.rb: add a test.
    * bootstraptest/pending.rb: add a pending bug.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.