diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-29 13:54:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-29 13:54:50 +0000 |
commit | edae1c72008cdd59f3ae3ed2a9172dc74e87e1b6 (patch) | |
tree | e839ef66a7d31cfc8d71465d8a86cab2a965bc11 /ChangeLog | |
parent | ef08f00541f2e3f2a409b3dfc474ac8611b20452 (diff) | |
download | ruby-edae1c72008cdd59f3ae3ed2a9172dc74e87e1b6.tar.gz |
win32/file.c: fix no user exception
* win32/file.c (append_wstr): set expanded length, not length of
appended string. fix "probable buffer overflow" bug.
[ruby-core:65317] [Bug #10304]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ -Mon Sep 29 22:54:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon Sep 29 22:54:51 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * win32/file.c (append_wstr): set expanded length, not length of + appended string. fix "probable buffer overflow" bug. + [ruby-core:65317] [Bug #10304] * string.c (str_make_independent_expand): drop NOFREE flag after reallocation, static buffer is not pointed anymore. |