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


test/ectest.c:1210:10: Call
1208.           return 0;
1209.       }
1210.       if (!TEST_true(EC_GROUP_check(group, NULL))) {
                 ^
1211.           TEST_info("EC_GROUP_check() failed with curve %s\n", OBJ_nid2sn(nid));
1212.           EC_GROUP_free(group);

crypto/ec/ec_check.c:13:1: Parameter `group->pre_comp.ec->w`
  11.   #include <openssl/err.h>
  12.   
  13. > int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx)
  14.   {
  15.       int ret = 0;

crypto/ec/ec_check.c:59:10: Call
  57.       }
  58.   
  59.       if (!EC_POINT_mul(group, point, order, NULL, NULL, ctx))
                 ^
  60.           goto err;
  61.       if (!EC_POINT_is_at_infinity(group, point)) {

crypto/ec/ec_lib.c:925:1: Parameter `group->pre_comp.ec->w`
    923.   }
    924.   
    925. > int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
    926.                    const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx)
    927.   {

crypto/ec/ec_lib.c:936:12: Call
    934.       scalars[0] = p_scalar;
    935.   
    936.       return EC_POINTs_mul(group, r, g_scalar,
                      ^
    937.                            (point != NULL
    938.                             && p_scalar != NULL), points, scalars, ctx);

crypto/ec/ec_lib.c:914:1: Parameter `group->pre_comp.ec->w`
      912.    */
      913.   
      914. > int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
      915.                     size_t num, const EC_POINT *points[],
      916.                     const BIGNUM *scalars[], BN_CTX *ctx)

crypto/ec/ec_lib.c:920:16: Call
      918.       if (group->meth->mul == 0)
      919.           /* use default */
      920.           return ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
                            ^
      921.   
      922.       return group->meth->mul(group, r, scalar, num, points, scalars, ctx);

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

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

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