crypto/ec/ecp_smpl.c:1386: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_CTX_end`.
Showing all 9 steps of the trace


crypto/ec/ecp_smpl.c:1240:1: Parameter `ctx->stack.depth`
1238.   }
1239.   
1240. > int ec_GFp_simple_points_make_affine(const EC_GROUP *group, size_t num,
1241.                                        EC_POINT *points[], BN_CTX *ctx)
1242.   {

crypto/ec/ecp_smpl.c:1258:5: Call
1256.       }
1257.   
1258.       BN_CTX_start(ctx);
            ^
1259.       tmp = BN_CTX_get(ctx);
1260.       tmp_Z = BN_CTX_get(ctx);

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

crypto/ec/ecp_smpl.c:1386:5: Call
1384.   
1385.    err:
1386.       BN_CTX_end(ctx);
            ^
1387.       BN_CTX_free(new_ctx);
1388.       if (prod_Z != NULL) {

crypto/bn/bn_ctx.c:254:1: Parameter `ctx->stack.depth`
  252.   }
  253.   
  254. > void BN_CTX_end(BN_CTX *ctx)
  255.   {
  256.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:260:27: Call
  258.           ctx->err_stack--;
  259.       else {
  260.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                   ^
  261.           /* Does this stack frame have anything to release? */
  262.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:330:1: <LHS trace>
328.   }
329.   
330. > static unsigned int BN_STACK_pop(BN_STACK *st)
331.   {
332.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:330:1: Parameter `st->depth`
    328.   }
    329.   
    330. > static unsigned int BN_STACK_pop(BN_STACK *st)
    331.   {
    332.       return st->indexes[--(st->depth)];

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