crypto/bn/bn_gf2m.c:845: 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:843:10: Call
841.           goto err;
842.   
843.       if (!BN_GF2m_mod_inv(xinv, x, p, ctx))
                ^
844.           goto err;
845.       if (!BN_GF2m_mod_mul(r, y, xinv, p, ctx))

crypto/bn/bn_gf2m.c:792:5: Call
  790.       bn_correct_top(v);
  791.   # endif
  792.       BN_CTX_end(ctx);
             ^
  793.       return ret;
  794.   }

crypto/bn/bn_ctx.c:254:1: Parameter `ctx->pool.used`
    252.   }
    253.   
    254. > void BN_CTX_end(BN_CTX *ctx)
    255.   {
    256.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_gf2m.c:845:10: Call
843.       if (!BN_GF2m_mod_inv(xinv, x, p, ctx))
844.           goto err;
845.       if (!BN_GF2m_mod_mul(r, y, xinv, p, ctx))
                ^
846.           goto err;
847.       bn_check_top(r);

crypto/bn/bn_gf2m.c:544:1: Parameter `ctx->pool.used`
  542.    * BN_GF2m_mod_mul_arr function.
  543.    */
  544. > int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
  545.                       const BIGNUM *p, BN_CTX *ctx)
  546.   {

crypto/bn/bn_gf2m.c:560:11: Call
  558.           goto err;
  559.       }
  560.       ret = BN_GF2m_mod_mul_arr(r, a, b, arr, ctx);
                   ^
  561.       bn_check_top(r);
  562.    err:

crypto/bn/bn_gf2m.c:489:1: Parameter `ctx->pool.used`
    487.    * the result in r.  r could be a or b; a could be b.
    488.    */
    489. > int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
    490.                           const int p[], BN_CTX *ctx)
    491.   {

crypto/bn/bn_gf2m.c:504:14: Call
    502.   
    503.       BN_CTX_start(ctx);
    504.       if ((s = BN_CTX_get(ctx)) == NULL)
                        ^
    505.           goto err;
    506.   

crypto/bn/bn_ctx.c:271:1: Parameter `ctx->pool.used`
      269.   }
      270.   
      271. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
      272.   {
      273.       BIGNUM *ret;

crypto/bn/bn_gf2m.c:533:5: Call
    531.   
    532.    err:
    533.       BN_CTX_end(ctx);
               ^
    534.       return ret;
    535.   }

crypto/bn/bn_ctx.c:254:1: Parameter `ctx->pool.used`
      252.   }
      253.   
      254. > void BN_CTX_end(BN_CTX *ctx)
      255.   {
      256.       CTXDBG_ENTRY("BN_CTX_end", ctx);

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

crypto/bn/bn_ctx.c:399:1: <LHS trace>
397.   }
398.   
399. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
400.   {
401.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:399:1: Parameter `p->used`
        397.   }
        398.   
        399. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
        400.   {
        401.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

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