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


crypto/bn/bntest.c:429:4: Call
427.   			{
428.   			BN_bntest_rand(&a,400,0,0);
429.   			BN_copy(&b,&a);
          ^
430.   			BN_lshift(&a,&a,i);
431.   			BN_add_word(&a,i);

crypto/bn/bn_lib.c:472:1: Parameter `*a->d`
  470.   	}
  471.   
  472. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
  473.   	{
  474.   	int i;

crypto/bn/bntest.c:438:3: Call
436.   		b.neg=rand_neg();
437.   		BN_RECP_CTX_set(&recp,&b,ctx);
438.   		BN_div_recp(&d,&c,&a,&recp,ctx);
         ^
439.   		if (bp != NULL)
440.   			{

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

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

crypto/bn/bn_lib.c:648:1: Parameter `*a->d`
    646.   	}
    647.   
    648. > int BN_ucmp(const BIGNUM *a, const BIGNUM *b)
    649.   	{
    650.   	int i;

crypto/bn/bn_recp.c:163:4: Call
  161.   
  162.   	/* i := max(BN_num_bits(m), 2*BN_num_bits(N)) */
  163.   	i=BN_num_bits(m);
            ^
  164.   	j=recp->num_bits<<1;
  165.   	if (j>i) i=j;

crypto/bn/bn_lib.c:245:1: Parameter `*a->d`
    243.   	}
    244.   
    245. > int BN_num_bits(const BIGNUM *a)
    246.   	{
    247.   	BN_ULONG l;

crypto/bn/bn_recp.c:184:7: Call
  182.   
  183.   	if (!BN_mul(b,&(recp->N),d,ctx)) goto err;
  184.   	if (!BN_usub(r,m,b)) goto err;
               ^
  185.   	r->neg=0;
  186.   

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

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

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

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