engines/ccgost/gost2001.c:115: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_CTX_end`.
Showing all 8 steps of the trace


engines/ccgost/gost2001.c:49:5: Call
47.       }
48.   
49.       BN_CTX_start(ctx);
          ^
50.       p = BN_CTX_get(ctx);
51.       a = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:227:1: Parameter `ctx->stack.depth`
  225.   }
  226.   
  227. > void BN_CTX_start(BN_CTX *ctx)
  228.   {
  229.       CTXDBG_ENTRY("BN_CTX_start", ctx);

engines/ccgost/gost2001.c:115:9: Call
113.       if (grp) EC_GROUP_free(grp);
114.       if (ctx) {
115.           BN_CTX_end(ctx);
               ^
116.           BN_CTX_free(ctx);
117.       }

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

crypto/bn/bn_ctx.c:247:27: Call
  245.           ctx->err_stack--;
  246.       else {
  247.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                   ^
  248.           /* Does this stack frame have anything to release? */
  249.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:319:1: <LHS trace>
317.   }
318.   
319. > static unsigned int BN_STACK_pop(BN_STACK *st)
320.   {
321.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:319:1: Parameter `st->depth`
    317.   }
    318.   
    319. > static unsigned int BN_STACK_pop(BN_STACK *st)
    320.   {
    321.       return st->indexes[--(st->depth)];

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