crypto/ec/ec_ameth.c:325: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `EC_GROUP_cmp`.
Showing all 10 steps of the trace


crypto/ec/ec_ameth.c:325:9: Call
323.       if (group_a == NULL || group_b == NULL)
324.           return -2;
325.       if (EC_GROUP_cmp(group_a, group_b, NULL))
               ^
326.           return 0;
327.       else

crypto/ec/ec_lib.c:501:1: Parameter `ctx->stack.depth`
  499.   }
  500.   
  501. > int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx)
  502.   {
  503.       int r = 0;

crypto/ec/ec_lib.c:525:5: Call
  523.           return 0;
  524.   
  525.       BN_CTX_start(ctx);
             ^
  526.       a1 = BN_CTX_get(ctx);
  527.       a2 = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:194:1: Parameter `ctx->stack.depth`
    192.   }
    193.   
    194. > void BN_CTX_start(BN_CTX *ctx)
    195.   {
    196.       CTXDBG("ENTER BN_CTX_start()", ctx);

crypto/ec/ec_lib.c:533:9: Call
  531.       b3 = BN_CTX_get(ctx);
  532.       if (b3 == NULL) {
  533.           BN_CTX_end(ctx);
                 ^
  534.   #ifndef FIPS_MODE
  535.           BN_CTX_free(ctx_new);

crypto/bn/bn_ctx.c:208:1: Parameter `ctx->stack.depth`
    206.   }
    207.   
    208. > void BN_CTX_end(BN_CTX *ctx)
    209.   {
    210.       if (ctx == NULL)

crypto/bn/bn_ctx.c:216:27: Call
    214.           ctx->err_stack--;
    215.       else {
    216.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                     ^
    217.           /* Does this stack frame have anything to release? */
    218.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:298:1: <LHS trace>
296.   }
297.   
298. > static unsigned int BN_STACK_pop(BN_STACK *st)
299.   {
300.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:298:1: Parameter `st->depth`
      296.   }
      297.   
      298. > static unsigned int BN_STACK_pop(BN_STACK *st)
      299.   {
      300.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:300:12: Binary operation: ([0, +oo] - 1):unsigned32 by call to `EC_GROUP_cmp` 
      298.   static unsigned int BN_STACK_pop(BN_STACK *st)
      299.   {
      300.       return st->indexes[--(st->depth)];
                        ^
      301.   }
      302.   
