aboutsummaryrefslogtreecommitdiffstats
path: root/pack.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-21 07:50:14 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-21 07:50:14 +0000
commit5d6ace6121ae07ba603ae2c5b6e4593449875e6f (patch)
tree5c7d2f940f738458fd0520d44bcb3af76c3ce69c /pack.c
parentc0ff5f4dd7913c458d62d7b7eea352ef1ef2994e (diff)
downloadruby-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 'pack.c')
0 files changed, 0 insertions, 0 deletions