[ruby-cvs:64301] usa:r57135 (trunk): Fixed potentially buffer overrun.

usa at ruby-lang.org usa at ruby-lang.org
Wed Dec 21 16:50:14 JST 2016

usa	2016-12-21 16:50:14 +0900 (Wed, 21 Dec 2016)

  New Revision: 57135


    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 files:

More information about the ruby-cvs mailing list