crypto/pem/pvkfmt.c:324: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_mod_exp`.
Showing all 18 steps of the trace


crypto/pem/pvkfmt.c:324:14: Call
322.               goto memerr;
323.   
324.           if (!BN_mod_exp(pub_key, gbn, priv_key, pbn, ctx))
                    ^
325.               goto memerr;
326.   

crypto/bn/bn_exp.c:191:1: Parameter `ctx->stack.depth`
  189.   }
  190.   
  191. > int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
  192.                  BN_CTX *ctx)
  193.   {

crypto/bn/bn_exp.c:256:15: Call
  254.   #ifdef RECP_MUL_MOD
  255.       {
  256.           ret = BN_mod_exp_recp(r, a, p, m, ctx);
                       ^
  257.       }
  258.   #else

crypto/bn/bn_exp.c:268:1: Parameter `ctx->stack.depth`
    266.   }
    267.   
    268. > int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
    269.                       const BIGNUM *m, BN_CTX *ctx)
    270.   {

crypto/bn/bn_exp.c:296:5: Call
    294.       }
    295.   
    296.       BN_CTX_start(ctx);
               ^
    297.       aa = BN_CTX_get(ctx);
    298.       val[0] = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:227:1: Parameter `ctx->stack.depth`
      225.   }
      226.   
      227. > void BN_CTX_start(BN_CTX *ctx)
      228.   {
      229.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_exp.c:315:10: Call
    313.       }
    314.   
    315.       if (!BN_nnmod(val[0], a, m, ctx))
                    ^
    316.           goto err;               /* 1 */
    317.       if (BN_is_zero(val[0])) {

crypto/bn/bn_mod.c:118:1: Parameter `ctx->stack.depth`
      116.   #include "bn_lcl.h"
      117.   
      118. > int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
      119.   {
      120.       /*

crypto/bn/bn_mod.c:125:11: Call
      123.        */
      124.   
      125.       if (!(BN_mod(r, m, d, ctx)))
                       ^
      126.           return 0;
      127.       if (!r->neg)

crypto/bn/bn_div.c:188:1: Parameter `ctx->stack.depth`
        186.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
        187.    */
        188. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
        189.              BN_CTX *ctx)
        190.   {

crypto/bn/bn_div.c:241:5: Call
        239.       }
        240.   
        241.       BN_CTX_start(ctx);
                   ^
        242.       tmp = BN_CTX_get(ctx);
        243.       snum = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:227:1: Parameter `ctx->stack.depth`
          225.   }
          226.   
          227. > void BN_CTX_start(BN_CTX *ctx)
          228.   {
          229.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_div.c:460:5: Call
        458.       if (no_branch)
        459.           bn_correct_top(res);
        460.       BN_CTX_end(ctx);
                   ^
        461.       return (1);
        462.    err:

crypto/bn/bn_ctx.c:241:1: Parameter `ctx->stack.depth`
          239.   }
          240.   
          241. > void BN_CTX_end(BN_CTX *ctx)
          242.   {
          243.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:247:27: Call
          245.           ctx->err_stack--;
          246.       else {
          247.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                           ^
          248.           /* Does this stack frame have anything to release? */
          249.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:317:1: <LHS trace>
315.   }
316.   
317. > static unsigned int BN_STACK_pop(BN_STACK *st)
318.   {
319.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:317:1: Parameter `st->depth`
            315.   }
            316.   
            317. > static unsigned int BN_STACK_pop(BN_STACK *st)
            318.   {
            319.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:319:12: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_mod_exp` 
            317.   static unsigned int BN_STACK_pop(BN_STACK *st)
            318.   {
            319.       return st->indexes[--(st->depth)];
                              ^
            320.   }
            321.   
