crypto/bn/bntest.c:592: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_div_recp`.
Showing all 11 steps of the trace


crypto/bn/bntest.c:568:1: Parameter `ctx->stack.depth`
566.   }
567.   
568. > int test_div_recp(BIO *bp, BN_CTX *ctx)
569.   {
570.       BIGNUM *a, *b, *c, *d, *e;

crypto/bn/bntest.c:592:9: Call
590.           b->neg = rand_neg();
591.           BN_RECP_CTX_set(recp, b, ctx);
592.           BN_div_recp(d, c, a, recp, ctx);
               ^
593.           if (bp != NULL) {
594.               if (!results) {

crypto/bn/bn_recp.c:132:1: Parameter `ctx->stack.depth`
  130.   }
  131.   
  132. > int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
  133.                   BN_RECP_CTX *recp, BN_CTX *ctx)
  134.   {

crypto/bn/bn_recp.c:138:5: Call
  136.       BIGNUM *a, *b, *d, *r;
  137.   
  138.       BN_CTX_start(ctx);
             ^
  139.       a = BN_CTX_get(ctx);
  140.       b = 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/bn/bn_recp.c:156:9: Call
  154.           if (!BN_copy(r, m))
  155.               return 0;
  156.           BN_CTX_end(ctx);
                 ^
  157.           return (1);
  158.       }

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 `BN_div_recp` 
      351.   static unsigned int BN_STACK_pop(BN_STACK *st)
      352.   {
      353.       return st->indexes[--(st->depth)];
                        ^
      354.   }
      355.   
