diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-24 02:08:36 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-24 02:08:36 +0000 |
| commit | f954caea430439ce4cb2360aea25d29b8de5dfef (patch) | |
| tree | e798916262b7a73f6b716df8d4ed7aa9929d2e65 /spec/ruby | |
| parent | 623160916dccc23d36bcceaf8014242903c6b04a (diff) | |
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/trunk@62555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
