crypto/bn/bn_gf2m.c:807: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_GF2m_mod_mul`.
Showing all 15 steps of the trace


crypto/bn/bn_gf2m.c:805:10: Call
803.           goto err;
804.   
805.       if (!BN_GF2m_mod_inv(xinv, x, p, ctx))
                ^
806.           goto err;
807.       if (!BN_GF2m_mod_mul(r, y, xinv, p, ctx))

crypto/bn/bn_gf2m.c:755:5: Call
  753.   
  754.    err:
  755.       BN_CTX_end(ctx);
             ^
  756.       return ret;
  757.   }

crypto/bn/bn_ctx.c:208:1: Parameter `ctx->pool.used`
    206.   }
    207.   
    208. > void BN_CTX_end(BN_CTX *ctx)
    209.   {
    210.       if (ctx == NULL)

crypto/bn/bn_gf2m.c:807:10: Call
805.       if (!BN_GF2m_mod_inv(xinv, x, p, ctx))
806.           goto err;
807.       if (!BN_GF2m_mod_mul(r, y, xinv, p, ctx))
                ^
808.           goto err;
809.       bn_check_top(r);

crypto/bn/bn_gf2m.c:465:1: Parameter `ctx->pool.used`
  463.    * BN_GF2m_mod_mul_arr function.
  464.    */
  465. > int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
  466.                       const BIGNUM *p, BN_CTX *ctx)
  467.   {

crypto/bn/bn_gf2m.c:481:11: Call
  479.           goto err;
  480.       }
  481.       ret = BN_GF2m_mod_mul_arr(r, a, b, arr, ctx);
                   ^
  482.       bn_check_top(r);
  483.    err:

crypto/bn/bn_gf2m.c:410:1: Parameter `ctx->pool.used`
    408.    * the result in r.  r could be a or b; a could be b.
    409.    */
    410. > int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
    411.                           const int p[], BN_CTX *ctx)
    412.   {

crypto/bn/bn_gf2m.c:425:14: Call
    423.   
    424.       BN_CTX_start(ctx);
    425.       if ((s = BN_CTX_get(ctx)) == NULL)
                        ^
    426.           goto err;
    427.   

crypto/bn/bn_ctx.c:227:1: Parameter `ctx->pool.used`
      225.   }
      226.   
      227. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
      228.   {
      229.       BIGNUM *ret;

crypto/bn/bn_gf2m.c:454:5: Call
    452.   
    453.    err:
    454.       BN_CTX_end(ctx);
               ^
    455.       return ret;
    456.   }

crypto/bn/bn_ctx.c:208:1: Parameter `ctx->pool.used`
      206.   }
      207.   
      208. > void BN_CTX_end(BN_CTX *ctx)
      209.   {
      210.       if (ctx == NULL)

crypto/bn/bn_ctx.c:219:13: Call
      217.           /* Does this stack frame have anything to release? */
      218.           if (fp < ctx->used)
      219.               BN_POOL_release(&ctx->pool, ctx->used - fp);
                         ^
      220.           ctx->used = fp;
      221.           /* Unjam "too_many" in case "get" had failed */

crypto/bn/bn_ctx.c:370:1: <LHS trace>
368.   }
369.   
370. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
371.   {
372.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:370:1: Parameter `p->used`
        368.   }
        369.   
        370. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
        371.   {
        372.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:372:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_GF2m_mod_mul` 
        370.   static void BN_POOL_release(BN_POOL *p, unsigned int num)
        371.   {
        372.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;
                   ^
        373.   
        374.       p->used -= num;
