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


test/bntest.c:1920:1: Parameter `ctx->stack.depth`
1918.   }
1919.   
1920. > int test_lshift(BIO *bp, BN_CTX *ctx, BIGNUM *a_)
1921.   {
1922.       BIGNUM *a, *b, *c, *d;

test/bntest.c:1950:9: Call
1948.               BIO_puts(bp, "\n");
1949.           }
1950.           BN_mul(d, a, c, ctx);
                ^
1951.           BN_sub(d, d, b);
1952.           if (!BN_is_zero(d)) {

crypto/bn/bn_mul.c:828:1: Parameter `ctx->stack.depth`
  826.   #endif                          /* BN_RECURSION */
  827.   
  828. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
  829.   {
  830.       int ret = 0;

crypto/bn/bn_mul.c:854:5: Call
  852.       top = al + bl;
  853.   
  854.       BN_CTX_start(ctx);
             ^
  855.       if ((r == a) || (r == b)) {
  856.           if ((rr = BN_CTX_get(ctx)) == 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/bn/bn_mul.c:979:5: Call
  977.    err:
  978.       bn_check_top(r);
  979.       BN_CTX_end(ctx);
             ^
  980.       return (ret);
  981.   }

crypto/bn/bn_ctx.c:195:1: Parameter `ctx->stack.depth`
    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: <LHS 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:273:12: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_mul` 
      271.   static unsigned int BN_STACK_pop(BN_STACK *st)
      272.   {
      273.       return st->indexes[--(st->depth)];
                        ^
      274.   }
      275.   
