hg: jdk8/tl/jdk: 8022180: BigInteger Burnikel-Ziegler quotient and remainder calculation assumes quotient parameter is zero

alan.bateman at oracle.com alan.bateman at oracle.com
Tue Aug 13 06:46:41 PDT 2013


Changeset: 834faf2081b3
Author:    bpb
Date:      2013-08-12 16:21 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/834faf2081b3

8022180: BigInteger Burnikel-Ziegler quotient and remainder calculation assumes quotient parameter is zero
Summary: Clear the quotient in divideAndRemainderBurnikelZiegler() if the divisor is larger than the dividend.
Reviewed-by: alanb, bpb
Contributed-by: Timothy Buktu <tbuktu at hotmail.com>

! src/share/classes/java/math/MutableBigInteger.java
! test/java/math/BigInteger/BigIntegerTest.java



More information about the security-dev mailing list