зеркало из https://github.com/github/ruby.git
* 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/trunk@48222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
119afd7531
Коммит
905b52217c
|
@ -1,3 +1,11 @@
|
|||
Sat Nov 1 17:09:32 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.
|
||||
|
||||
Sat Nov 1 15:45:15 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (parse_atmark): mere atmark and two atmarks without
|
||||
|
|
2
bignum.c
2
bignum.c
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче