diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-14 13:22:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-14 13:22:09 +0000 |
commit | 0c22cfd0ceded88fcd1c7e711841caab7bdcf73e (patch) | |
tree | 08e5d55f03a0dc738872584d3699ec736a08cedd /include/ruby/backward.h | |
parent | 0a97832e6ac6a5fa68c2185da6e8c07a7d4299b6 (diff) |
strftime.c: limit result size
* strftime.c (rb_strftime_with_timespec): limit the result string
size by the format length, to get rid of unlimited memory use.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/backward.h')
0 files changed, 0 insertions, 0 deletions