diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-09 03:15:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-09 03:15:20 +0000 |
commit | d4d966f9674008ee2b9b5bcb121e68441d50330d (patch) | |
tree | 2aa41a9f49bae0d161124c28de820402c582d71d /vm_backtrace.c | |
parent | bf618557b1ce35094379448478261b9db6af5010 (diff) | |
download | ruby-d4d966f9674008ee2b9b5bcb121e68441d50330d.tar.gz |
sprintf.c: overflow check
* sprintf.c (ruby_do_vsnprintf): pathologically, get rid of
negative value when the result length exceeds INT_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_backtrace.c')
0 files changed, 0 insertions, 0 deletions