diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-24 07:19:48 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-24 07:19:48 +0000 |
| commit | e16d49fbceb6b4359ca23b58a3c6d7abd4b80690 (patch) | |
| tree | d7692fd642a4699089519fa06880029e17cc36b1 /spec/ruby/core/string/valid_encoding_spec.rb | |
| parent | a94362d31f4dffd83494afc4909e8f5e311571bd (diff) | |
merge revision(s) 62555: [Backport #14547]
rational.c: segfault on Rational exponent
* rational.c (read_num): fix segfault on Rational() with positive
but less than the length of fractional part exponent. should be
negated to convert to divisor which is a reciprocal.
[ruby-core:85783] [Bug #14547]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/string/valid_encoding_spec.rb')
0 files changed, 0 insertions, 0 deletions
