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


crypto/bn/bn_recp.c:238:10: Call
236.           goto err;
237.   
238.       if (!BN_div(r, NULL, t, m, ctx))
                ^
239.           goto err;
240.   

crypto/bn/bn_div.c:189:1: Parameter `ctx->pool.used`
  187.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
  188.    */
  189. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
  190.              BN_CTX *ctx)
  191.   {

crypto/bn/bn_recp.c:244:5: Call
242.    err:
243.       bn_check_top(r);
244.       BN_CTX_end(ctx);
           ^
245.       return (ret);
246.   }

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_CTX_end` 
    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;
