crypto/rsa/rsa_crpt.c:132: error: BUFFER_OVERRUN_L3
  Offset: [-1, +oo] Size: [1, +oo] by call to `rsa_get_public_exp`.
Showing all 18 steps of the trace


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

crypto/rsa/rsa_crpt.c:124:5: Call
122.       }
123.   
124.       BN_CTX_start(ctx);
           ^
125.       e = BN_CTX_get(ctx);
126.       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:132:13: Call
130.   
131.       if (rsa->e == NULL) {
132.           e = rsa_get_public_exp(rsa->d, rsa->p, rsa->q, ctx);
                   ^
133.           if (e == NULL) {
134.               RSAerr(RSA_F_RSA_SETUP_BLINDING, RSA_R_NO_PUBLIC_EXPONENT);

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

crypto/rsa/rsa_crpt.c:91:5: Call
  89.           return NULL;
  90.   
  91.       BN_CTX_start(ctx);
            ^
  92.       r0 = BN_CTX_get(ctx);
  93.       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:102:10: Call
  100.       if (!BN_sub(r2, q, BN_value_one()))
  101.           goto err;
  102.       if (!BN_mul(r0, r1, r2, ctx))
                  ^
  103.           goto err;
  104.   

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.indexes`
      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.indexes`
      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: <Offset 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:271:1: <Length 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->indexes`
        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: Array access: Offset: [-1, +oo] Size: [1, +oo] 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.   
