crypto/rsa/rsa_crpt.c:178: 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:157:1: Parameter `in_ctx->stack.depth`
155.   }
156.   
157. > BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx)
158.   {
159.       BIGNUM *local_n = NULL;

crypto/rsa/rsa_crpt.c:170:5: Call
168.           ctx = in_ctx;
169.   
170.       BN_CTX_start(ctx);
           ^
171.       e = BN_CTX_get(ctx);
172.       if (e == NULL) {

crypto/bn/bn_ctx.c:253:1: Parameter `ctx->stack.depth`
  251.   }
  252.   
  253. > void BN_CTX_start(BN_CTX *ctx)
  254.   {
  255.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/rsa/rsa_crpt.c:178:13: Call
176.   
177.       if (rsa->e == NULL) {
178.           e = rsa_get_public_exp(rsa->d, rsa->p, rsa->q, ctx);
                   ^
179.           if (e == NULL) {
180.               RSAerr(RSA_F_RSA_SETUP_BLINDING, RSA_R_NO_PUBLIC_EXPONENT);

crypto/rsa/rsa_crpt.c:129:1: Parameter `ctx->stack.depth`
  127.   }
  128.   
  129. > static BIGNUM *rsa_get_public_exp(const BIGNUM *d, const BIGNUM *p,
  130.                                     const BIGNUM *q, BN_CTX *ctx)
  131.   {

crypto/rsa/rsa_crpt.c:137:5: Call
  135.           return NULL;
  136.   
  137.       BN_CTX_start(ctx);
             ^
  138.       r0 = BN_CTX_get(ctx);
  139.       r1 = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:253:1: Parameter `ctx->stack.depth`
    251.   }
    252.   
    253. > void BN_CTX_start(BN_CTX *ctx)
    254.   {
    255.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/rsa/rsa_crpt.c:148:10: Call
  146.       if (!BN_sub(r2, q, BN_value_one()))
  147.           goto err;
  148.       if (!BN_mul(r0, r1, r2, ctx))
                  ^
  149.           goto err;
  150.   

crypto/bn/bn_mul.c:883:1: Parameter `ctx->stack.depth`
    881.   #endif                          /* BN_RECURSION */
    882.   
    883. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
    884.   {
    885.       int ret = 0;

crypto/bn/bn_mul.c:909:5: Call
    907.       top = al + bl;
    908.   
    909.       BN_CTX_start(ctx);
               ^
    910.       if ((r == a) || (r == b)) {
    911.           if ((rr = BN_CTX_get(ctx)) == NULL)

crypto/bn/bn_ctx.c:253:1: Parameter `ctx->stack.depth`
      251.   }
      252.   
      253. > void BN_CTX_start(BN_CTX *ctx)
      254.   {
      255.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_mul.c:1033:5: Call
    1031.    err:
    1032.       bn_check_top(r);
    1033.       BN_CTX_end(ctx);
                ^
    1034.       return (ret);
    1035.   }

crypto/bn/bn_ctx.c:267:1: Parameter `ctx->stack.depth`
      265.   }
      266.   
      267. > void BN_CTX_end(BN_CTX *ctx)
      268.   {
      269.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:273:27: Call
      271.           ctx->err_stack--;
      272.       else {
      273.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                       ^
      274.           /* Does this stack frame have anything to release? */
      275.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:351:1: <LHS trace>
349.   }
350.   
351. > static unsigned int BN_STACK_pop(BN_STACK *st)
352.   {
353.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:351:1: Parameter `st->depth`
        349.   }
        350.   
        351. > static unsigned int BN_STACK_pop(BN_STACK *st)
        352.   {
        353.       return st->indexes[--(st->depth)];

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