crypto/rsa/rsa_x931g.c:205: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_X931_generate_Xpq`.
Showing all 12 steps of the trace


crypto/rsa/rsa_x931g.c:202:5: Call
200.           goto error;
201.   
202.       BN_CTX_start(ctx);
           ^
203.       Xp = BN_CTX_get(ctx);
204.       Xq = 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/rsa/rsa_x931g.c:205:10: Call
203.       Xp = BN_CTX_get(ctx);
204.       Xq = BN_CTX_get(ctx);
205.       if (!BN_X931_generate_Xpq(Xp, Xq, bits, ctx))
                ^
206.           goto error;
207.   

crypto/bn/bn_x931p.c:200:1: Parameter `ctx->stack.depth`
  198.    */
  199.   
  200. > int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx)
  201.   {
  202.       BIGNUM *t;

crypto/bn/bn_x931p.c:219:5: Call
  217.           goto err;
  218.   
  219.       BN_CTX_start(ctx);
             ^
  220.       t = BN_CTX_get(ctx);
  221.   

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_x931p.c:231:5: Call
  229.       }
  230.   
  231.       BN_CTX_end(ctx);
             ^
  232.   
  233.       if (i < 1000)

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_X931_generate_Xpq` 
      326.   static unsigned int BN_STACK_pop(BN_STACK *st)
      327.   {
      328.       return st->indexes[--(st->depth)];
                        ^
      329.   }
      330.   
