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


engines/ccgost/gost2001.c:275:5: Call
273.       }
274.   
275.       BN_CTX_start(ctx);
           ^
276.       order = BN_CTX_get(ctx);
277.       e = 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);

engines/ccgost/gost2001.c:304:17: Call
302.       md = hashsum2bn(dgst);
303.   
304.       if (!md || !BN_mod(e, md, order, ctx)) {
                       ^
305.           GOSTerr(GOST_F_GOST2001_DO_VERIFY, ERR_R_INTERNAL_ERROR);
306.           goto err;

crypto/bn/bn_div.c:189:1: Parameter `ctx->stack.depth`
  187.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
  188.    */
  189. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
  190.              BN_CTX *ctx)
  191.   {

crypto/bn/bn_div.c:242:5: Call
  240.       }
  241.   
  242.       BN_CTX_start(ctx);
             ^
  243.       tmp = BN_CTX_get(ctx);
  244.       snum = 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/bn/bn_div.c:469:5: Call
  467.       if (no_branch)
  468.           bn_correct_top(res);
  469.       BN_CTX_end(ctx);
             ^
  470.       return (1);
  471.    err:

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_div` 
      330.   static unsigned int BN_STACK_pop(BN_STACK *st)
      331.   {
      332.       return st->indexes[--(st->depth)];
                        ^
      333.   }
      334.   
