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


crypto/bn/bn_gf2m.c:741:10: Call
739.   
740.       /* r := a * b */
741.       if (!BN_GF2m_mod_mul(r, a, b, p, ctx))
                ^
742.           goto err;
743.   

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:745:10: Call
743.   
744.       /* r := 1/(a * b) */
745.       if (!BN_GF2m_mod_inv_vartime(r, r, p, ctx))
                ^
746.           goto err;
747.   

crypto/bn/bn_gf2m.c:552:1: Parameter `ctx->pool.used`
  550.    * Curve Cryptography Over Binary Fields".
  551.    */
  552. > static int BN_GF2m_mod_inv_vartime(BIGNUM *r, const BIGNUM *a,
  553.                                      const BIGNUM *p, BN_CTX *ctx)
  554.   {

crypto/bn/bn_gf2m.c:563:9: Call
  561.       BN_CTX_start(ctx);
  562.   
  563.       b = BN_CTX_get(ctx);
                 ^
  564.       c = BN_CTX_get(ctx);
  565.       u = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:202:1: Parameter `ctx->pool.used`
    200.   }
    201.   
    202. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    203.   {
    204.       BIGNUM *ret;

crypto/bn/bn_gf2m.c:564:9: Call
  562.   
  563.       b = BN_CTX_get(ctx);
  564.       c = BN_CTX_get(ctx);
                 ^
  565.       u = BN_CTX_get(ctx);
  566.       v = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:202:1: Parameter `ctx->pool.used`
    200.   }
    201.   
    202. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    203.   {
    204.       BIGNUM *ret;

crypto/bn/bn_gf2m.c:565:9: Call
  563.       b = BN_CTX_get(ctx);
  564.       c = BN_CTX_get(ctx);
  565.       u = BN_CTX_get(ctx);
                 ^
  566.       v = BN_CTX_get(ctx);
  567.       if (v == NULL)

crypto/bn/bn_ctx.c:202:1: Parameter `ctx->pool.used`
    200.   }
    201.   
    202. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    203.   {
    204.       BIGNUM *ret;

crypto/bn/bn_gf2m.c:566:9: Call
  564.       c = BN_CTX_get(ctx);
  565.       u = BN_CTX_get(ctx);
  566.       v = BN_CTX_get(ctx);
                 ^
  567.       if (v == NULL)
  568.           goto err;

crypto/bn/bn_ctx.c:202:1: Parameter `ctx->pool.used`
    200.   }
    201.   
    202. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    203.   {
    204.       BIGNUM *ret;

crypto/bn/bn_gf2m.c:715:5: Call
  713.       bn_correct_top(v);
  714.   # endif
  715.       BN_CTX_end(ctx);
             ^
  716.       return ret;
  717.   }

crypto/bn/bn_ctx.c:185:1: Parameter `ctx->pool.used`
    183.   }
    184.   
    185. > void BN_CTX_end(BN_CTX *ctx)
    186.   {
    187.       CTXDBG("ENTER BN_CTX_end()", ctx);

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

crypto/bn/bn_ctx.c:338:1: <LHS trace>
336.   }
337.   
338. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
339.   {
340.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:338:1: Parameter `p->used`
      336.   }
      337.   
      338. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
      339.   {
      340.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:340:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_GF2m_mod_inv_vartime` 
      338.   static void BN_POOL_release(BN_POOL *p, unsigned int num)
      339.   {
      340.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;
                 ^
      341.   
      342.       p->used -= num;
