diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-21 07:50:14 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-21 07:50:14 +0000 |
commit | 5d6ace6121ae07ba603ae2c5b6e4593449875e6f (patch) | |
tree | 5c7d2f940f738458fd0520d44bcb3af76c3ce69c /eval_jump.c | |
parent | c0ff5f4dd7913c458d62d7b7eea352ef1ef2994e (diff) | |
download | ruby-5d6ace6121ae07ba603ae2c5b6e4593449875e6f.tar.gz |
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/trunk@57135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_jump.c')
0 files changed, 0 insertions, 0 deletions