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


crypto/bn/bn_recp.c:66:18: Call
64.       if (y != NULL) {
65.           if (x == y) {
66.               if (!BN_sqr(a, x, ctx))
                       ^
67.                   goto err;
68.           } else {

crypto/bn/bn_sqr.c:17:1: Parameter `ctx->pool.used`
  15.    * I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96
  16.    */
  17. > int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
  18.   {
  19.       int max, al;

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

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

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

crypto/bn/bn_ctx.c:212:1: Parameter `ctx->pool.used`
    210.   }
    211.   
    212. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    213.   {
    214.       BIGNUM *ret;

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

crypto/bn/bn_ctx.c:212:1: Parameter `ctx->pool.used`
    210.   }
    211.   
    212. > BIGNUM *BN_CTX_get(BN_CTX *ctx)
    213.   {
    214.       BIGNUM *ret;

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

crypto/bn/bn_ctx.c:195:1: Parameter `ctx->pool.used`
    193.   }
    194.   
    195. > void BN_CTX_end(BN_CTX *ctx)
    196.   {
    197.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:204:13: Call
    202.           /* Does this stack frame have anything to release? */
    203.           if (fp < ctx->used)
    204.               BN_POOL_release(&ctx->pool, ctx->used - fp);
                       ^
    205.           ctx->used = fp;
    206.           /* 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_div_recp` 
      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;
