crypto/rsa/rsa_ossl.c:306: error: BUFFER_OVERRUN_L3
  Offset: [-1, +oo] Size: [1, +oo] by call to `rsa_blinding_convert`.
Showing all 27 steps of the trace


crypto/rsa/rsa_ossl.c:255:5: Call
253.       if ((ctx = BN_CTX_new()) == NULL)
254.           goto err;
255.       BN_CTX_start(ctx);
           ^
256.       f = BN_CTX_get(ctx);
257.       ret = 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_ossl.c:306:14: Call
304.               goto err;
305.           }
306.           if (!rsa_blinding_convert(blinding, f, unblind, ctx))
                    ^
307.               goto err;
308.       }

crypto/rsa/rsa_ossl.c:200:1: Parameter `ctx->stack.depth`
  198.   }
  199.   
  200. > static int rsa_blinding_convert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind,
  201.                                   BN_CTX *ctx)
  202.   {

crypto/rsa/rsa_ossl.c:207:16: Call
  205.            * Local blinding: store the unblinding factor in BN_BLINDING.
  206.            */
  207.           return BN_BLINDING_convert_ex(f, NULL, b, ctx);
                        ^
  208.       else {
  209.           /*

crypto/bn/bn_blind.c:130:1: Parameter `ctx->stack.depth`
    128.   }
    129.   
    130. > int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
    131.   {
    132.       int ret = 1;

crypto/bn/bn_blind.c:144:15: Call
    142.           /* Fresh blinding, doesn't need updating. */
    143.           b->counter = 0;
    144.       else if (!BN_BLINDING_update(b, ctx))
                         ^
    145.           return (0);
    146.   

crypto/bn/bn_blind.c:94:1: Parameter `ctx->stack.depth`
      92.   }
      93.   
      94. > int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx)
      95.   {
      96.       int ret = 0;

crypto/bn/bn_blind.c:112:14: Call
      110.               goto err;
      111.       } else if (!(b->flags & BN_BLINDING_NO_UPDATE)) {
      112.           if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx))
                          ^
      113.               goto err;
      114.           if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx))

crypto/bn/bn_mod.c:73:1: Parameter `ctx->stack.depth`
        71.   
        72.   /* slow but works */
        73. > int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
        74.                  BN_CTX *ctx)
        75.   {

crypto/bn/bn_mod.c:83:5: Call
        81.       bn_check_top(m);
        82.   
        83.       BN_CTX_start(ctx);
                  ^
        84.       if ((t = BN_CTX_get(ctx)) == NULL)
        85.           goto err;

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_mod.c:87:14: Call
        85.           goto err;
        86.       if (a == b) {
        87.           if (!BN_sqr(t, a, ctx))
                           ^
        88.               goto err;
        89.       } else {

crypto/bn/bn_sqr.c:17:1: Parameter `ctx->stack.depth`
          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_mod.c:93:10: Call
        91.               goto err;
        92.       }
        93.       if (!BN_nnmod(r, t, m, ctx))
                       ^
        94.           goto err;
        95.       bn_check_top(r);

crypto/bn/bn_mod.c:13:1: Parameter `ctx->stack.depth`
          11.   #include "bn_lcl.h"
          12.   
          13. > int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
          14.   {
          15.       /*

crypto/bn/bn_mod.c:20:11: Call
          18.        */
          19.   
          20.       if (!(BN_mod(r, m, d, ctx)))
                          ^
          21.           return 0;
          22.       if (!r->neg)

crypto/bn/bn_div.c:193:5: Call
            191.       }
            192.   
            193.       BN_CTX_start(ctx);
                       ^
            194.       res = (dv == NULL) ? BN_CTX_get(ctx) : dv;
            195.       tmp = BN_CTX_get(ctx);

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_div.c:413:5: Call
            411.       if (no_branch)
            412.           bn_correct_top(res);
            413.       BN_CTX_end(ctx);
                       ^
            414.       return (1);
            415.    err:

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_blinding_convert` 
                271.   static unsigned int BN_STACK_pop(BN_STACK *st)
                272.   {
                273.       return st->indexes[--(st->depth)];
                                  ^
                274.   }
                275.   
