crypto/bn/bn_gf2m.c:849: error: INTEGER_OVERFLOW_L2
  ([0, 3+max(0, `ctx->stack.depth`)] - 1):unsigned32 by call to `BN_CTX_end`.
Showing all 9 steps of the trace


crypto/bn/bn_gf2m.c:826:1: Parameter `ctx->stack.depth`
824.    * or y, x could equal y.
825.    */
826. > int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x,
827.                       const BIGNUM *p, BN_CTX *ctx)
828.   {

crypto/bn/bn_gf2m.c:836:5: Call
834.       bn_check_top(p);
835.   
836.       BN_CTX_start(ctx);
           ^
837.       xinv = BN_CTX_get(ctx);
838.       if (xinv == NULL)

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_gf2m.c:849:5: Call
847.   
848.    err:
849.       BN_CTX_end(ctx);
           ^
850.       return ret;
851.   }

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, 3+max(0, ctx->stack.depth)] - 1):unsigned32 by call to `BN_CTX_end` 
    351.   static unsigned int BN_STACK_pop(BN_STACK *st)
    352.   {
    353.       return st->indexes[--(st->depth)];
                      ^
    354.   }
    355.   
