summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line/rubyopt_spec.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-10-21 21:22:53 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-10-21 21:24:21 +0900
commitf364564e66d1db1de8e80d669287386595c8bc46 (patch)
treeb02c5be041ae8a1761c021fe9a655ec89d792bed /spec/ruby/command_line/rubyopt_spec.rb
parentc8f97d16202a953a66a326b450a82d926f0fea9c (diff)
bignum.c (estimate_initial_sqrt): prevent integer overflow
`Integer.sqrt(0xffff_ffff_ffff_ffff ** 2)` caused assertion failure because of integer overflow. [ruby-core:95453] [Bug #16269]
Diffstat (limited to 'spec/ruby/command_line/rubyopt_spec.rb')
0 files changed, 0 insertions, 0 deletions