diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-12 11:07:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-12 11:07:30 +0000 |
commit | 88d28fb7cd08938bc5f0f75d3fdb23d3df2c762f (patch) | |
tree | f1892d585bf07564456d91418708a134e87e39b5 /ChangeLog | |
parent | 1472ca90671c8c0f9b310e80723530ac2a5073d6 (diff) | |
download | ruby-88d28fb7cd08938bc5f0f75d3fdb23d3df2c762f.tar.gz |
vsnprintf.c: fix buffer overflow
* vsnprintf.c (MAXEXP, MAXFRACT): calculate depending on constants in
float.h.
* vsnprintf.c (BSD_vfprintf): limit length for cvt() to get rid of
buffer overflow. [ruby-core:57023] [Bug #8864]
* vsnprintf.c (exponent): make expbuf size more precise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Thu Sep 12 20:07:29 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * vsnprintf.c (MAXEXP, MAXFRACT): calculate depending on constants in + float.h. + + * vsnprintf.c (BSD_vfprintf): limit length for cvt() to get rid of + buffer overflow. [ruby-core:57023] [Bug #8864] + + * vsnprintf.c (exponent): make expbuf size more precise. + Wed Sep 11 17:30:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (RUNRUBY): append -- only after runruby.rb, not |