summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-01 12:14:30 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-01 12:14:30 +0000
commitd6daffbbf0350dbb6a164ec6264d5d2ea2f05c25 (patch)
tree7c6a1af8be0e84404a2a1515cb8bb6a43f3dffdc /ext/zlib/zlib.c
parent0cbe2f4902aa3de9a082776d4fcc574bc50d5aa5 (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 'ext/zlib/zlib.c')
0 files changed, 0 insertions, 0 deletions