[ruby-cvs:51103] nagachika:r43959 (ruby_2_0_0): merge revision(s) 43853: [Backport #9157]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Mon Dec 2 23:06:41 JST 2013


nagachika	2013-12-02 23:06:39 +0900 (Mon, 02 Dec 2013)

  New Revision: 43959

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43959

  Log:
    merge revision(s) 43853: [Backport #9157]
    
    * file.c (rb_readlink): fix buffer overflow on a long symlink. since
      rb_str_modify_expand() expands from its length but not its capacity,
      need to set the length properly for each expansion.
      [ruby-core:58592] [Bug #9157]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/file.c
    branches/ruby_2_0_0/test/ruby/test_file_exhaustive.rb
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list