diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-16 02:47:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-16 02:47:21 +0000 |
commit | 9019934c64c723e0f09e5cfe30e87d44ee116391 (patch) | |
tree | effd2de1447d5cd1b7e558c2c80be1feb84eb244 /version.h | |
parent | 12cccce6f676e82c80af31c1b8616c34c5fa8559 (diff) |
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/trunk@57637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions