diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-04 15:09:38 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-04 15:09:38 +0000 |
commit | a7987d8b95c21ae77946f820db298af003c6f031 (patch) | |
tree | 40c635bdde6de4f3fbf3efe247ad63ef7d9148df | |
parent | f14cc4d3b3f14986ffdfd37aaf4752cbbf4ba22f (diff) | |
download | ruby-a7987d8b95c21ae77946f820db298af003c6f031.tar.gz |
merge revision(s) r48222: [Backport #10464] [Backport #10465]
* bignum.c (bary_mul_balance_with_mulfunc): Fix free work area
location.
[ruby-dev:48723] [Bug #10464]
[ruby-core:66044] [Bug #10465]
Reported by Kohji Nishihama.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@48272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | bignum.c | 2 | ||||
-rw-r--r-- | version.h | 8 |
3 files changed, 13 insertions, 5 deletions
@@ -1,3 +1,11 @@ +Wed Nov 5 00:01:04 2014 Tanaka Akira <akr@fsij.org> + + * bignum.c (bary_mul_balance_with_mulfunc): Fix free work area + location. + [ruby-dev:48723] [Bug #10464] + [ruby-core:66044] [Bug #10465] + Reported by Kohji Nishihama. + Tue Oct 28 22:30:21 2014 NARUSE, Yui <naruse@ruby-lang.org> * configure.in: remove apple-gcc4.2 from CC candidates. @@ -1650,7 +1650,7 @@ bary_mul_balance_with_mulfunc(BDIGIT *zds, size_t zn, const BDIGIT *xds, size_t } tds = zds + n; MEMCPY(wds, zds + n, BDIGIT, xn); - mulfunc(tds, tn, xds, xn, yds + n, r, wds-xn, wn-xn); + mulfunc(tds, tn, xds, xn, yds + n, r, wds+xn, wn-xn); bary_add(zds + n, tn, zds + n, tn, wds, xn); @@ -1,10 +1,10 @@ #define RUBY_VERSION "2.1.5" -#define RUBY_RELEASE_DATE "2014-10-28" -#define RUBY_PATCHLEVEL 267 +#define RUBY_RELEASE_DATE "2014-11-05" +#define RUBY_PATCHLEVEL 268 #define RUBY_RELEASE_YEAR 2014 -#define RUBY_RELEASE_MONTH 10 -#define RUBY_RELEASE_DAY 28 +#define RUBY_RELEASE_MONTH 11 +#define RUBY_RELEASE_DAY 5 #include "ruby/version.h" |