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


engines/ccgost/gost2001.c:278:5: Call
276.       }
277.   
278.       BN_CTX_start(ctx);
           ^
279.       order = BN_CTX_get(ctx);
280.       e = 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:307:16: Call
305.       md = hashsum2bn(dgst);
306.   
307.       if(!md || !BN_mod(e, md, order, ctx)) {
                      ^
308.           GOSTerr(GOST_F_GOST2001_DO_VERIFY, ERR_R_INTERNAL_ERROR);
309.           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:227:1: Parameter `ctx->stack.depth`
    225.   }
    226.   
    227. > void BN_CTX_start(BN_CTX *ctx)
    228.   {
    229.       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: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_div` 
      319.   static unsigned int BN_STACK_pop(BN_STACK *st)
      320.   {
      321.       return st->indexes[--(st->depth)];
                        ^
      322.   }
      323.   
