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


crypto/bn/bn_recp.c:55:1: Parameter `ctx->pool.used`
53.   }
54.   
55. > int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
56.                             BN_RECP_CTX *recp, BN_CTX *ctx)
57.   {

crypto/bn/bn_recp.c:63:14: Call
61.   
62.       BN_CTX_start(ctx);
63.       if ((a = BN_CTX_get(ctx)) == NULL)
                   ^
64.           goto err;
65.       if (y != NULL) {

crypto/bn/bn_ctx.c:227:1: Parameter `ctx->pool.used`
  225.   }
  226.   
  227. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
  228.   {
  229.       BIGNUM *ret;

crypto/bn/bn_recp.c:77:11: Call
75.           ca = x;                 /* Just do the mod */
76.   
77.       ret = BN_div_recp(NULL, r, ca, recp, ctx);
                ^
78.    err:
79.       BN_CTX_end(ctx);

crypto/bn/bn_recp.c:84:1: Parameter `ctx->pool.used`
  82.   }
  83.   
  84. > int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
  85.                   BN_RECP_CTX *recp, BN_CTX *ctx)
  86.   {

crypto/bn/bn_recp.c:93:9: Call
  91.       d = (dv != NULL) ? dv : BN_CTX_get(ctx);
  92.       r = (rem != NULL) ? rem : BN_CTX_get(ctx);
  93.       a = BN_CTX_get(ctx);
                ^
  94.       b = BN_CTX_get(ctx);
  95.       if (b == NULL)

crypto/bn/bn_ctx.c:227:1: Parameter `ctx->pool.used`
    225.   }
    226.   
    227. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    228.   {
    229.       BIGNUM *ret;

crypto/bn/bn_recp.c:94:9: Call
  92.       r = (rem != NULL) ? rem : BN_CTX_get(ctx);
  93.       a = BN_CTX_get(ctx);
  94.       b = BN_CTX_get(ctx);
                ^
  95.       if (b == NULL)
  96.           goto err;

crypto/bn/bn_ctx.c:227:1: Parameter `ctx->pool.used`
    225.   }
    226.   
    227. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    228.   {
    229.       BIGNUM *ret;

crypto/bn/bn_recp.c:101:13: Call
  99.           BN_zero(d);
  100.           if (!BN_copy(r, m)) {
  101.               BN_CTX_end(ctx);
                     ^
  102.               return 0;
  103.           }

crypto/bn/bn_ctx.c:208:1: Parameter `ctx->pool.used`
    206.   }
    207.   
    208. > void BN_CTX_end(BN_CTX *ctx)
    209.   {
    210.       if (ctx == NULL)

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

crypto/bn/bn_ctx.c:370:1: <LHS trace>
368.   }
369.   
370. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
371.   {
372.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:370:1: Parameter `p->used`
      368.   }
      369.   
      370. > static void BN_POOL_release(BN_POOL *p, unsigned int num)
      371.   {
      372.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;

crypto/bn/bn_ctx.c:372:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_div_recp` 
      370.   static void BN_POOL_release(BN_POOL *p, unsigned int num)
      371.   {
      372.       unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE;
                 ^
      373.   
      374.       p->used -= num;
