diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-21 14:26:48 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-21 14:26:48 +0000 |
commit | 05292160489699688687dc2d2576873cddac5437 (patch) | |
tree | 4fd5c4c91874cfc59fff76c9dcd1f740a428eadb /string.c | |
parent | 1e1898221068a8811fa68eda24f765a3171c70e9 (diff) |
merge revision(s) 57637: [Backport #14453]
win32.c: memcpy instead of strlcpy
* win32/win32.c (cmdglob): memcpy the exact size instead of
strlcpy with +1.
* win32/win32.c (w32_cmdvector): ditto, with NUL-terminating.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions