crypto/dsa/dsa_gen.c:528: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_div`.
Showing all 12 steps of the trace


crypto/dsa/dsa_gen.c:405:5: Call
403.           goto err;
404.   
405.       BN_CTX_start(ctx);
           ^
406.       r0 = BN_CTX_get(ctx);
407.       g = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:236:1: Parameter `ctx->stack.depth`
  234.   }
  235.   
  236. > void BN_CTX_start(BN_CTX *ctx)
  237.   {
  238.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/dsa/dsa_gen.c:528:18: Call
526.               if (!BN_lshift1(r0, q))
527.                   goto err;
528.               if (!BN_mod(c, X, r0, ctx))
                        ^
529.                   goto err;
530.               if (!BN_sub(r0, c, BN_value_one()))

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:236:1: Parameter `ctx->stack.depth`
    234.   }
    235.   
    236. > void BN_CTX_start(BN_CTX *ctx)
    237.   {
    238.       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:250:1: Parameter `ctx->stack.depth`
    248.   }
    249.   
    250. > void BN_CTX_end(BN_CTX *ctx)
    251.   {
    252.       CTXDBG_ENTRY("BN_CTX_end", ctx);

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

crypto/bn/bn_ctx.c:326:1: <LHS trace>
324.   }
325.   
326. > static unsigned int BN_STACK_pop(BN_STACK *st)
327.   {
328.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:326:1: Parameter `st->depth`
      324.   }
      325.   
      326. > static unsigned int BN_STACK_pop(BN_STACK *st)
      327.   {
      328.       return st->indexes[--(st->depth)];

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