diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-01 12:14:30 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-01 12:14:30 +0000 |
commit | d6daffbbf0350dbb6a164ec6264d5d2ea2f05c25 (patch) | |
tree | 7c6a1af8be0e84404a2a1515cb8bb6a43f3dffdc /test/-ext- | |
parent | 0cbe2f4902aa3de9a082776d4fcc574bc50d5aa5 (diff) | |
download | ruby-d6daffbbf0350dbb6a164ec6264d5d2ea2f05c25.tar.gz |
* numeric.c (rb_num2ulong_internal): Don't cast a negative double value
into unsigned long, which is undefined behavior.
(rb_num2ull): Don't cast a value bigger than LLONG_MAX into
long long, which is undefined behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-')
0 files changed, 0 insertions, 0 deletions