crypto/ec/ecp_smpl.c:410: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_nnmod`.
Showing all 17 steps of the trace


crypto/ec/ecp_smpl.c:395:1: Parameter `ctx->pool.used`
393.   
394.   
395. > int ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point,
396.   	const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx)
397.   	{

crypto/ec/ecp_smpl.c:410:8: Call
408.   	if (x != NULL)
409.   		{
410.   		if (!BN_nnmod(&point->X, x, &group->field, ctx)) goto err;
              ^
411.   		if (group->meth->field_encode)
412.   			{

crypto/bn/bn_mod.c:129:1: Parameter `ctx->pool.used`
  127.   
  128.   
  129. > int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
  130.   	{
  131.   	/* like BN_mod, but returns non-negative remainder

crypto/bn/bn_mod.c:134:8: Call
  132.   	 * (i.e.,  0 <= r < |d|  always holds) */
  133.   
  134.   	if (!(BN_mod(r,m,d,ctx)))
                ^
  135.   		return 0;
  136.   	if (!r->neg)

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_nnmod` 
        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--)
