crypto/dh/dh_check.c:174: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_CTX_end`.
Showing all 8 steps of the trace


crypto/dh/dh_check.c:152:5: Call
150.       if (ctx == NULL)
151.           goto err;
152.       BN_CTX_start(ctx);
           ^
153.       tmp = BN_CTX_get(ctx);
154.       if (tmp == NULL || !BN_set_word(tmp, 1))

crypto/bn/bn_ctx.c:235:1: Parameter `ctx->stack.depth`
  233.   }
  234.   
  235. > void BN_CTX_start(BN_CTX *ctx)
  236.   {
  237.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/dh/dh_check.c:174:9: Call
172.    err:
173.       if (ctx != NULL) {
174.           BN_CTX_end(ctx);
               ^
175.           BN_CTX_free(ctx);
176.       }

crypto/bn/bn_ctx.c:249:1: Parameter `ctx->stack.depth`
  247.   }
  248.   
  249. > void BN_CTX_end(BN_CTX *ctx)
  250.   {
  251.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:255:27: Call
  253.           ctx->err_stack--;
  254.       else {
  255.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                   ^
  256.           /* Does this stack frame have anything to release? */
  257.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:325:1: <LHS trace>
323.   }
324.   
325. > static unsigned int BN_STACK_pop(BN_STACK *st)
326.   {
327.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:325:1: Parameter `st->depth`
    323.   }
    324.   
    325. > static unsigned int BN_STACK_pop(BN_STACK *st)
    326.   {
    327.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:327:12: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_CTX_end` 
    325.   static unsigned int BN_STACK_pop(BN_STACK *st)
    326.   {
    327.       return st->indexes[--(st->depth)];
                      ^
    328.   }
    329.   
