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 /include/ruby/st.h | |
| parent | 0cbe2f4902aa3de9a082776d4fcc574bc50d5aa5 (diff) | |
* 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 'include/ruby/st.h')
0 files changed, 0 insertions, 0 deletions
