[ruby-cvs:64517] nagachika:r57351 (ruby_2_3): merge revision(s) 57135, 57136: [Backport #13058]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Tue Jan 17 04:51:56 JST 2017


nagachika	2017-01-17 04:51:56 +0900 (Tue, 17 Jan 2017)

  New Revision: 57351

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57351

  Log:
    merge revision(s) 57135,57136: [Backport #13058]
    
    Fixed potentially buffer overrun.
    
    * win32/win32.c (winnt_stat): the return value of `get_final_path` is the
      expected buffer length, not the actuall filled length.
    
    * win32/win32.c (winnt_stat): `finalname` may be accessed in the outer block of
      its definition via `path`.

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/version.h
    branches/ruby_2_3/win32/win32.c


More information about the ruby-cvs mailing list