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 /include/ruby | |
| 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 'include/ruby')
0 files changed, 0 insertions, 0 deletions
