crypto/bn/bn_gcd.c:273: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_usub`.
Showing all 7 steps of the trace


crypto/bn/bn_gcd.c:174:9: Call
172.       BN_one(X);
173.       BN_zero(Y);
174.       if (BN_copy(B, a) == NULL)
               ^
175.           goto err;
176.       if (BN_copy(A, n) == NULL)

crypto/bn/bn_lib.c:362:1: Parameter `*a->d`
  360.   }
  361.   
  362. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
  363.   {
  364.       int i;

crypto/bn/bn_gcd.c:273:22: Call
271.                    * actually makes the algorithm slower
272.                    */
273.                   if (!BN_usub(B, B, A))
                            ^
274.                       goto err;
275.               } else {

crypto/bn/bn_add.c:117:1: <LHS trace>
115.   
116.   /* unsigned subtraction of b from a, a must be larger than b. */
117. > int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
118.   {
119.       int max, min, dif;

crypto/bn/bn_add.c:117:1: Parameter `*a->d`
  115.   
  116.   /* unsigned subtraction of b from a, a must be larger than b. */
  117. > int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
  118.   {
  119.       int max, min, dif;

crypto/bn/bn_add.c:169:13: Assignment
  167.           while (dif) {
  168.               dif--;
  169.               t1 = *(ap++);
                     ^
  170.               t2 = (t1 - 1) & BN_MASK2;
  171.               *(rp++) = t2;

crypto/bn/bn_add.c:170:13: Binary operation: ([0, +oo] - 1):unsigned64 by call to `BN_usub` 
  168.               dif--;
  169.               t1 = *(ap++);
  170.               t2 = (t1 - 1) & BN_MASK2;
                     ^
  171.               *(rp++) = t2;
  172.               if (t1)
