crypto/bn/bn_mod.c:209: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_div`.
Showing all 16 steps of the trace


crypto/bn/bn_mod.c:207:7: Call
205.   int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
206.   	{
207.   	if (!BN_sqr(r, a, ctx)) return 0;
             ^
208.   	/* r->neg == 0,  thus we don't need BN_nnmod */
209.   	return BN_mod(r, r, m, ctx);

crypto/bn/bn_sqr.c:65:1: Parameter `ctx->pool.used`
  63.   /* r must not be a */
  64.   /* I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96 */
  65. > int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
  66.   	{
  67.   	int max,al;

crypto/bn/bn_mod.c:209:9: Call
207.   	if (!BN_sqr(r, a, ctx)) return 0;
208.   	/* r->neg == 0,  thus we don't need BN_nnmod */
209.   	return BN_mod(r, r, m, ctx);
               ^
210.   	}
211.   

crypto/bn/bn_div.c:183:1: Parameter `ctx->pool.used`
  181.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
  182.    */
  183. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
  184.   	   BN_CTX *ctx)
  185.   	{

crypto/bn/bn_div.c:229:6: Call
  227.   
  228.   	BN_CTX_start(ctx);
  229.   	tmp=BN_CTX_get(ctx);
              ^
  230.   	snum=BN_CTX_get(ctx);
  231.   	sdiv=BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:290:1: Parameter `ctx->pool.used`
    288.   	}
    289.   
    290. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    291.   	{
    292.   	BIGNUM *ret;

crypto/bn/bn_div.c:230:7: Call
  228.   	BN_CTX_start(ctx);
  229.   	tmp=BN_CTX_get(ctx);
  230.   	snum=BN_CTX_get(ctx);
               ^
  231.   	sdiv=BN_CTX_get(ctx);
  232.   	if (dv == NULL)

crypto/bn/bn_ctx.c:290:1: Parameter `ctx->pool.used`
    288.   	}
    289.   
    290. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    291.   	{
    292.   	BIGNUM *ret;

crypto/bn/bn_div.c:231:7: Call
  229.   	tmp=BN_CTX_get(ctx);
  230.   	snum=BN_CTX_get(ctx);
  231.   	sdiv=BN_CTX_get(ctx);
               ^
  232.   	if (dv == NULL)
  233.   		res=BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:290:1: Parameter `ctx->pool.used`
    288.   	}
    289.   
    290. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    291.   	{
    292.   	BIGNUM *ret;

crypto/bn/bn_div.c:443:2: Call
  441.   		}
  442.   	if (no_branch)	bn_correct_top(res);
  443.   	BN_CTX_end(ctx);
          ^
  444.   	return(1);
  445.   err:

crypto/bn/bn_ctx.c:272:1: Parameter `ctx->pool.used`
    270.   	}
    271.   
    272. > void BN_CTX_end(BN_CTX *ctx)
    273.   	{
    274.   	CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:282:4: Call
    280.   		/* Does this stack frame have anything to release? */
    281.   		if(fp < ctx->used)
    282.   			BN_POOL_release(&ctx->pool, ctx->used - fp);
              ^
    283.   		ctx->used = fp;
    284.   		/* Unjam "too_many" in case "get" had failed */

crypto/bn/bn_ctx.c:440:1: <LHS trace>
438.   	}
439.   
440. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
441.   	{
442.   	unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:440:1: Parameter `p->used`
      438.   	}
      439.   
      440. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
      441.   	{
      442.   	unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:442:2: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_div` 
      440.   static void BN_POOL_release(BN_POOL *p, unsigned int num)
      441.   	{
      442.   	unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;
              ^
      443.   	p->used -= num;
      444.   	while(num--)
