apps/ecparam.c:286: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `EC_GROUP_check`.
Showing all 10 steps of the trace


apps/ecparam.c:286:14: Call
284.       if (check) {
285.           BIO_printf(bio_err, "checking elliptic curve parameters: ");
286.           if (!EC_GROUP_check(group, NULL)) {
                    ^
287.               BIO_printf(bio_err, "failed\n");
288.               ERR_print_errors(bio_err);

crypto/ec/ec_check.c:23:1: Parameter `group->pre_comp.ec->w`
  21.   }
  22.   
  23. > int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx)
  24.   {
  25.   #ifdef FIPS_MODE

crypto/ec/ec_check.c:81:10: Call
  79.       }
  80.   
  81.       if (!EC_POINT_mul(group, point, order, NULL, NULL, ctx))
                 ^
  82.           goto err;
  83.       if (!EC_POINT_is_at_infinity(group, point)) {

crypto/ec/ec_lib.c:971:1: Parameter `group->pre_comp.ec->w`
    969.   }
    970.   
    971. > int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
    972.                    const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx)
    973.   {

crypto/ec/ec_lib.c:982:12: Call
    980.       scalars[0] = p_scalar;
    981.   
    982.       return EC_POINTs_mul(group, r, g_scalar,
                      ^
    983.                            (point != NULL
    984.                             && p_scalar != NULL), points, scalars, ctx);

crypto/ec/ec_lib.c:933:1: Parameter `group->pre_comp.ec->w`
      931.    */
      932.   
      933. > int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
      934.                     size_t num, const EC_POINT *points[],
      935.                     const BIGNUM *scalars[], BN_CTX *ctx)

crypto/ec/ec_lib.c:965:15: Call
      963.       else
      964.           /* use default */
      965.           ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
                           ^
      966.   
      967.       BN_CTX_free(new_ctx);

crypto/ec/ec_mult.c:410:1: <LHS trace>
408.    * in the addition if scalar != NULL
409.    */
410. > int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
411.                   size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
412.                   BN_CTX *ctx)

crypto/ec/ec_mult.c:410:1: Parameter `group->pre_comp.ec->w`
        408.    * in the addition if scalar != NULL
        409.    */
        410. > int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
        411.                   size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
        412.                   BN_CTX *ctx)

crypto/ec/ec_mult.c:494:13: Binary operation: ([0, +oo] - 1):unsigned64 by call to `EC_GROUP_check` 
        492.                   numblocks = pre_comp->numblocks;
        493.   
        494.               pre_points_per_block = (size_t)1 << (pre_comp->w - 1);
                           ^
        495.   
        496.               /* check that pre_comp looks sane */
