diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-25 02:56:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-25 02:56:36 +0000 |
commit | bae87a479016504577b7def06f38615837f12b50 (patch) | |
tree | 20eed2f9caacc78727f7ef824495b8c42edb59d2 /ChangeLog | |
parent | 7833e69c2ea4c843f6930b4a80795025f36ab155 (diff) |
vsnprintf.c: fix string precision
* vsnprintf.c (BSD_vfprintf): fix string width when precision is
given. as the result of `memchr` is NULL or its offset from the
start cannot exceed the size, the comparison was always false.
[ruby-core:62737] [Bug #9861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Sun May 25 11:56:33 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * vsnprintf.c (BSD_vfprintf): fix string width when precision is + given. as the result of `memchr` is NULL or its offset from the + start cannot exceed the size, the comparison was always false. + [ruby-core:62737] [Bug #9861] + Sun May 25 11:32:42 2014 Zachary Scott <e@zzak.io> * lib/yaml.rb: Remove Psych::EngineManager [Bug #8344] |