Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 197067 | Differences between
and this patch

Collapse All | Expand All

(-)mcs/class/corlib/Mono.Math/BigInteger.cs (-1 / +1 lines)
Lines 1607-1613 Link Here
1607
						uint j = 1;
1607
						uint j = 1;
1608
1608
1609
						// Multiply and add
1609
						// Multiply and add
1610
						for (; j < m.length; j++) {
1610
						for (; j < m.length && j < A.length; j++) {
1611
							c += (ulong)u_i * (ulong)*(mP++) + *(aSP++);
1611
							c += (ulong)u_i * (ulong)*(mP++) + *(aSP++);
1612
							*(aDP++) = (uint)c;
1612
							*(aDP++) = (uint)c;
1613
							c >>= 32;
1613
							c >>= 32;
(-)mcs/class/Mono.Security/Mono.Math/BigInteger.cs (-1 / +1 lines)
Lines 1601-1607 Link Here
1601
						uint j = 1;
1601
						uint j = 1;
1602
1602
1603
						// Multiply and add
1603
						// Multiply and add
1604
						for (; j < m.length; j++) {
1604
						for (; j < m.length && j < A.length; j++) {
1605
							c += (ulong)u_i * (ulong)*(mP++) + *(aSP++);
1605
							c += (ulong)u_i * (ulong)*(mP++) + *(aSP++);
1606
							*(aDP++) = (uint)c;
1606
							*(aDP++) = (uint)c;
1607
							c >>= 32;
1607
							c >>= 32;

Return to bug 197067