crypto/bn/bn_recp.c:121: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `BN_div_recp`.
Showing all 12 steps of the trace


crypto/bn/bn_recp.c:103:1: Parameter `*x->d`
101.   	}
102.   
103. > int BN_mod_mul_reciprocal(BIGNUM *r, BIGNUM *x, BIGNUM *y, BN_RECP_CTX *recp,
104.   	     BN_CTX *ctx)
105.   	{

crypto/bn/bn_recp.c:121:2: Call
119.   		a=x; /* Just do the mod */
120.   
121.   	BN_div_recp(NULL,r,a,recp,ctx);
        ^
122.   	ret=1;
123.   err:

crypto/bn/bn_recp.c:128:1: Parameter `*m->d`
  126.   	}
  127.   
  128. > int BN_div_recp(BIGNUM *dv, BIGNUM *rem, BIGNUM *m, BN_RECP_CTX *recp,
  129.   	     BN_CTX *ctx)
  130.   	{

crypto/bn/bn_recp.c:147:6: Call
  145.   	if (a == NULL || b == NULL || d == NULL || r == NULL) goto err;
  146.   
  147.   	if (BN_ucmp(m,&(recp->N)) < 0)
              ^
  148.   		{
  149.   		BN_zero(d);

crypto/bn/bn_lib.c:616:1: Parameter `*a->d`
    614.   	}
    615.   
    616. > int BN_ucmp(const BIGNUM *a, const BIGNUM *b)
    617.   	{
    618.   	int i;

crypto/bn/bn_recp.c:160:4: Call
  158.   	 *
  159.   	 */
  160.   	i=BN_num_bits(m);
            ^
  161.   
  162.   	j=recp->num_bits<<1;

crypto/bn/bn_lib.c:238:1: Parameter `*a->d`
    236.   	}
    237.   
    238. > int BN_num_bits(const BIGNUM *a)
    239.   	{
    240.   	BN_ULONG l;

crypto/bn/bn_recp.c:175:7: Call
  173.   	d->neg=0;
  174.   	if (!BN_mul(b,&(recp->N),d,ctx)) goto err;
  175.   	if (!BN_usub(r,m,b)) goto err;
               ^
  176.   	r->neg=0;
  177.   

crypto/bn/bn_add.c:167:1: <LHS trace>
165.   
166.   /* unsigned subtraction of b from a, a must be larger than b. */
167. > int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
168.   	{
169.   	int max,min;

crypto/bn/bn_add.c:167:1: Parameter `*a->d`
    165.   
    166.   /* unsigned subtraction of b from a, a must be larger than b. */
    167. > int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
    168.   	{
    169.   	int max,min;

crypto/bn/bn_add.c:226:4: Assignment
    224.   			{
    225.   			i++;
    226.   			t1= *(ap++);
              ^
    227.   			t2=(t1-1)&BN_MASK2;
    228.   			*(rp++)=t2;

crypto/bn/bn_add.c:227:4: Binary operation: ([0, +oo] - 1):unsigned64 by call to `BN_div_recp` 
    225.   			i++;
    226.   			t1= *(ap++);
    227.   			t2=(t1-1)&BN_MASK2;
              ^
    228.   			*(rp++)=t2;
    229.   			if (t1 > t2) break;
