crypto/rsa/rsa_crpt.c:131: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `rsa_get_public_exp`.
Showing all 17 steps of the trace


crypto/rsa/rsa_crpt.c:110:1: Parameter `in_ctx->stack.depth`
108.   }
109.   
110. > BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx)
111.   {
112.       BIGNUM *e;

crypto/rsa/rsa_crpt.c:123:5: Call
121.       }
122.   
123.       BN_CTX_start(ctx);
           ^
124.       e = BN_CTX_get(ctx);
125.       if (e == NULL) {

crypto/bn/bn_ctx.c:181:1: Parameter `ctx->stack.depth`
  179.   }
  180.   
  181. > void BN_CTX_start(BN_CTX *ctx)
  182.   {
  183.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/rsa/rsa_crpt.c:131:13: Call
129.   
130.       if (rsa->e == NULL) {
131.           e = rsa_get_public_exp(rsa->d, rsa->p, rsa->q, ctx);
                   ^
132.           if (e == NULL) {
133.               RSAerr(RSA_F_RSA_SETUP_BLINDING, RSA_R_NO_PUBLIC_EXPONENT);

crypto/rsa/rsa_crpt.c:82:1: Parameter `ctx->stack.depth`
  80.   }
  81.   
  82. > static BIGNUM *rsa_get_public_exp(const BIGNUM *d, const BIGNUM *p,
  83.                                     const BIGNUM *q, BN_CTX *ctx)
  84.   {

crypto/rsa/rsa_crpt.c:90:5: Call
  88.           return NULL;
  89.   
  90.       BN_CTX_start(ctx);
            ^
  91.       r0 = BN_CTX_get(ctx);
  92.       r1 = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:181:1: Parameter `ctx->stack.depth`
    179.   }
    180.   
    181. > void BN_CTX_start(BN_CTX *ctx)
    182.   {
    183.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/rsa/rsa_crpt.c:101:10: Call
  99.       if (!BN_sub(r2, q, BN_value_one()))
  100.           goto err;
  101.       if (!BN_mul(r0, r1, r2, ctx))
                  ^
  102.           goto err;
  103.   

crypto/bn/bn_mul.c:497:1: Parameter `ctx->stack.depth`
    495.   #endif                          /* BN_RECURSION */
    496.   
    497. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
    498.   {
    499.       int ret = 0;

crypto/bn/bn_mul.c:523:5: Call
    521.       top = al + bl;
    522.   
    523.       BN_CTX_start(ctx);
               ^
    524.       if ((r == a) || (r == b)) {
    525.           if ((rr = BN_CTX_get(ctx)) == NULL)

crypto/bn/bn_ctx.c:181:1: Parameter `ctx->stack.depth`
      179.   }
      180.   
      181. > void BN_CTX_start(BN_CTX *ctx)
      182.   {
      183.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_mul.c:608:5: Call
    606.    err:
    607.       bn_check_top(r);
    608.       BN_CTX_end(ctx);
               ^
    609.       return ret;
    610.   }

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

crypto/bn/bn_ctx.c:201:27: Call
      199.           ctx->err_stack--;
      200.       else {
      201.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                       ^
      202.           /* Does this stack frame have anything to release? */
      203.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:271:1: <LHS trace>
269.   }
270.   
271. > static unsigned int BN_STACK_pop(BN_STACK *st)
272.   {
273.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:271:1: Parameter `st->depth`
        269.   }
        270.   
        271. > static unsigned int BN_STACK_pop(BN_STACK *st)
        272.   {
        273.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:273:12: Binary operation: ([0, +oo] - 1):unsigned32 by call to `rsa_get_public_exp` 
        271.   static unsigned int BN_STACK_pop(BN_STACK *st)
        272.   {
        273.       return st->indexes[--(st->depth)];
                          ^
        274.   }
        275.   
