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


crypto/bn/bn_gf2m.c:823:1: Parameter `ctx->pool.used`
821.    * convenience; for best performance, use the BN_GF2m_mod_div function.
822.    */
823. > int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *yy, const BIGNUM *xx,
824.                           const int p[], BN_CTX *ctx)
825.   {

crypto/bn/bn_gf2m.c:833:18: Call
831.   
832.       BN_CTX_start(ctx);
833.       if ((field = BN_CTX_get(ctx)) == NULL)
                        ^
834.           goto err;
835.       if (!BN_GF2m_arr2poly(p, field))

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

crypto/bn/bn_gf2m.c:842:5: Call
840.   
841.    err:
842.       BN_CTX_end(ctx);
           ^
843.       return ret;
844.   }

crypto/bn/bn_ctx.c:185:1: Parameter `ctx->pool.used`
  183.   }
  184.   
  185. > void BN_CTX_end(BN_CTX *ctx)
  186.   {
  187.       if (ctx == NULL)

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

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

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

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