Project

General

Profile

Bug #13058

Please backport r57135 and r57136

Added by usa (Usaku NAKAMURA) over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-dev:49907]

Description

backport管理用のチケットです。

Associated revisions

Revision 565b6da1
Added by nagachika (Tomoyuki Chikanaga) over 2 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 57351
Added by nagachika (Tomoyuki Chikanaga) over 2 years ago

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.

History

Updated by usa (Usaku NAKAMURA) over 2 years ago

  • Subject changed from Please backport r57135 and r57135 to Please backport r57135 and r57136

Updated by nagachika (Tomoyuki Chikanaga) over 2 years ago

  • Backport changed from 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONE

ruby_2_3 r57351 merged revision(s) 57135,57136.

Also available in: Atom PDF