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


apps/ecparam.c:271:14: Call
269.       if (check) {
270.           BIO_printf(bio_err, "checking elliptic curve parameters: ");
271.           if (!EC_GROUP_check(group, NULL)) {
                    ^
272.               BIO_printf(bio_err, "failed\n");
273.               ERR_print_errors(bio_err);

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:956:1: Parameter `group->pre_comp.ec->w`
    954.   }
    955.   
    956. > int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
    957.                    const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx)
    958.   {

crypto/ec/ec_lib.c:967:12: Call
    965.       scalars[0] = p_scalar;
    966.   
    967.       return EC_POINTs_mul(group, r, g_scalar,
                      ^
    968.                            (point != NULL
    969.                             && p_scalar != NULL), points, scalars, ctx);

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

crypto/ec/ec_lib.c:950:15: Call
      948.       else
      949.           /* use default */
      950.           ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
                           ^
      951.   
      952.       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 */
