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

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

crypto/bn/bn_ctx.c:267:1: Parameter `ctx->pool.used`
    265.   }
    266.   
    267. > void BN_CTX_end(BN_CTX *ctx)
    268.   {
    269.       CTXDBG_ENTRY("BN_CTX_end", ctx);

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

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

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

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

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

crypto/bn/bn_ctx.c:284:1: Parameter `ctx->pool.used`
      282.   }
      283.   
      284. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
      285.   {
      286.       BIGNUM *ret;

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

crypto/bn/bn_ctx.c:267:1: Parameter `ctx->pool.used`
      265.   }
      266.   
      267. > void BN_CTX_end(BN_CTX *ctx)
      268.   {
      269.       CTXDBG_ENTRY("BN_CTX_end", ctx);

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

crypto/bn/bn_ctx.c:435:1: <LHS trace>
433.   }
434.   
435. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
436.   {
437.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:435:1: Parameter `p->used`
        433.   }
        434.   
        435. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
        436.   {
        437.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

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