Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: ruby_1_8_5
Commits on Jun 20, 2008
  1. @shyouhei

    merge revision(s) 17483:

    shyouhei authored
    	* string.c (rb_str_buf_append): should infect.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @shyouhei

    add ChangeLog

    shyouhei authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @shyouhei

    merge revision(s) 17470:17472:

    shyouhei authored
    	* array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
    	  behavior at integer overflow.
    	* string.c (str_buf_cat): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 19, 2008
  1. @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/branches/ruby_1_8_5@17460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    * array.c (rb_ary_equal, rb_ary_eql, rb_ary_hash, rb_ary_cmp):

    nobu authored
      Make Array#eql?, #hash, #== and #<=> use rb_protect_inspect() and
      handle recursive data properly.  [ruby-dev:35181]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @nobu

    * array.c (rb_ary_equal, rb_ary_eql, rb_ary_hash, rb_ary_cmp):

    nobu authored
      Make Array#eql?, #hash, #== and #<=> use rb_exec_recursive() and
      handle recursive data properly.  [ruby-dev:35181]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 18, 2008
  1. @shyouhei

    merge revision(s) 17396:

    shyouhei authored
    	* marshal.c (w_object, marshal_dump, r_object0, marshal_load): search
    	  public methods only.  [ruby-core:17283]
    	* object.c (convert_type): ditto.
    	* lib/singleton.rb (Singleton#_dump): conversion method should be
    	  public.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @shyouhei

    * file.c: fixes to compile on mswin32. Patch from U. Nakamura

    shyouhei authored
    	  <usa at garbagecollect.jp>. [ruby-dev:35127]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 17, 2008
  1. @shyouhei

    merge revision(s) 12205:

    shyouhei authored
    	* configure.in (LIBPATHFLAG, RPATHFLAG): no needs to be quoted,
    	  it is done by libpathflag in mkmf.rb.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 16, 2008
  1. @shyouhei

    merge revision(s) 11194:11196:

    shyouhei authored
    	* lib/mkmf.rb: fixed the bug of handling COMMON_MACROS.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @shyouhei

    merge revision(s) 11594:

    shyouhei authored
    	* mkconfig.rb: autoconf 2.61 support.  [ruby-core:10016]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @shyouhei

    merge revision(s) 16514:

    shyouhei authored
    	* proc.c (proc_dup): should copy safe_level from src proc
    	  properly.  a patch from Keita Yamaguchi
    	  <keita.yamaguchi at gmail.com>
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 15, 2008
  1. @shyouhei

    merge revision(s) 16677:

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

    merge revision(s) 16654:

    shyouhei authored
    	* marshal.c (w_object, marshal_dump, r_object0, marshal_load): search
    	  private methods too.  [ruby-dev:34671]
    	* object.c (convert_type): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @shyouhei

    merge revision(s) 16641:

    shyouhei authored
    	* numeric.c (flo_divmod): Revert the behavior change; do not
    	  suppress an exception when div is NaN or Inf. [ruby-dev:34857]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @shyouhei

    merge revision(s) 16618:

    shyouhei authored
    	* file.c (BUFCHECK): wrong condition. [ruby-core:16921]
    	* file.c (file_expand_buf): shouldn't use buflen for length of string.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @shyouhei

    merge revision(s) 16596:

    shyouhei authored
    	* marshal.c (r_object0, Init_marshal): Fix the garbled s_call
    	  definition; fixes [ruby-dev:34843].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @shyouhei

    merge revision(s) 16570:

    shyouhei authored
    	* object.c (rb_cstr_to_dbl): should clear errno before calling
    	  strtod(3).  [ruby-dev:34834]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. @shyouhei

    merge revision(s) 16569:

    shyouhei authored
    	* marshal.c (marshal_load): should initialize arg.data used for
    	  reentrant check.  [ruby-dev:34837]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. @shyouhei

    merge revision(s) 16564:

    shyouhei authored
    	* marshal.c (reentrant_check): check reentrance via callcc.
    	  [ruby-dev:34802]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. @shyouhei

    merge revision(s) 16534:

    shyouhei authored
    	* parse.y (top_local_setup): fixed memory leak bug based on a
    	  patch from Roger Pack <rogerpack2005 at gmail.com> in
    	  [ruby-core:16610].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. @shyouhei

    merge revision(s) 16473:

    shyouhei authored
    	* sprintf.c (rb_f_sprintf): fixed SEGV on win32 with "% 0e" % 1.0/0.0.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. @shyouhei

    merge revision(s) 16471:

    shyouhei authored
    	* process.c (rb_f_system): set last_status when status == -1 because
    	  there is no path to set it on win32. this patch is derived from
    	  [ruby-core:16787], submitted by Luis Lavena <luislavena at gmail.com>
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. @shyouhei

    add ChangeLog entries

    shyouhei authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. @shyouhei

    merge revision(s) 16420,16454:

    shyouhei authored
    	* file.c (file_expand_path): support for alternative data stream
    	  and ignored trailing garbages of NTFS.
    	* file.c (rb_file_s_basename): ditto.
    	* file.c (rb_file_s_extname): ditto.
    	* lib/webrick/httpservlet/filehandler.rb: should normalize path
    	  name in path_info to prevent script disclosure vulnerability on
    	  DOSISH filesystems. (fix: CVE-2008-1891)
    	  Note: NTFS/FAT filesystem should not be published by the platforms
    	  other than Windows. Pathname interpretation (including short
    	  filename) is less than perfect.
    	* lib/webrick/httpservlet/abstract.rb
    	  (WEBrick::HTTPServlet::AbstracServlet#redirect_to_directory_uri):
    	  should escape the value of Location: header.
    	* lib/webrick/httpservlet/cgi_runner.rb: accept interpreter
    	  command line arguments.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. @shyouhei

    merge revision(s) 16400:

    shyouhei authored
    	* string.c (rb_str_cat): fixed buffer overrun reported by
    	  Christopher Thompson <cthompson at nexopia.com> in [ruby-core:16746]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  15. @shyouhei

    merge revision(s) 16385:

    shyouhei authored
    	* eval.c (is_defined): add NODE_OP_ASGN_{OR,AND}.  "defined?(a||=1)"
    	  should not operate assignment.  [ruby-dev:34645]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  16. @shyouhei

    merge revision(s) 16379:

    shyouhei authored
    	* win32/win32.c (rb_w32_select): backport from trunk.
    	  [ruby-talk:300743]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  17. @shyouhei

    merge revision(s) 16369:

    shyouhei authored
    	* lib/delegate.rb (SimpleDelegator::dup): removed needless argument.
    	  [ruby-list:44910]
    	* lib/delegate.rb (clone, dup): keep relationship with the target
    	  object.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  18. @shyouhei

    merge revision(s) 16342:

    shyouhei authored
    	* util.c (ruby_strtod): backported from 1.9.  a patch from Satoshi
    	  Nakagawa <psychs at limechat.net> in [ruby-dev:34625]. 
    	  fixed: [ruby-dev:34623]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  19. @shyouhei

    merge revision(s) 16307:

    shyouhei authored
    	* struct.c (rb_struct_s_def): to_str should be called only once.
    	  [ruby-core:16647]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  20. @shyouhei

    merge revision(s) 16305:

    shyouhei authored
    	* ext/zlib/zlib.c (gzreader_gets): may cause infinite loop.
    	  a patch from Kouya <kouyataifu4 at gmail.com> in
    	  [ruby-reference-manual:762].
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  21. @shyouhei

    merge revision(s) 16242:

    shyouhei authored
    	Merged 16241 from trunk.
    	* lib/net/telnet.rb:  Fixing a bug where line endings would not be properly
    	  escaped when the two character ending was broken up into separate TCP
    	  packets.  Issue reported and patched by Brian Candler.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  22. @shyouhei

    merge revision(s) 16239:

    shyouhei authored
    	* re.c (rb_reg_search): use local variable.  a patch from wanabe
    	  <s.wanabe AT gmail.com> in [ruby-dev:34537].  [ruby-dev:34492]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  23. @shyouhei

    merge revision(s) 16177:

    shyouhei authored
    	* dln.c (dln_find_1): prior files with extensions to files sans
    	  extensions.  [ruby-core:16517]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.