crypto/sm2/sm2_sign.c:226: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `EC_POINT_mul`.
Showing all 8 steps of the trace


crypto/sm2/sm2_sign.c:226:10: Call
224.       }
225.   
226.       if (!EC_POINT_mul(group, pt, s, EC_KEY_get0_public_key(key), t, ctx)
                ^
227.               || !EC_POINT_get_affine_coordinates(group, pt, x1, NULL, ctx)) {
228.           SM2err(SM2_F_SM2_SIG_VERIFY, ERR_R_EC_LIB);

crypto/ec/ec_lib.c:947:1: Parameter `group->pre_comp.ec->w`
  945.   }
  946.   
  947. > int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
  948.                    const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx)
  949.   {

crypto/ec/ec_lib.c:958:12: Call
  956.       scalars[0] = p_scalar;
  957.   
  958.       return EC_POINTs_mul(group, r, g_scalar,
                    ^
  959.                            (point != NULL
  960.                             && p_scalar != NULL), points, scalars, ctx);

crypto/ec/ec_lib.c:909:1: Parameter `group->pre_comp.ec->w`
    907.    */
    908.   
    909. > int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
    910.                     size_t num, const EC_POINT *points[],
    911.                     const BIGNUM *scalars[], BN_CTX *ctx)

crypto/ec/ec_lib.c:941:15: Call
    939.       else
    940.           /* use default */
    941.           ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
                         ^
    942.   
    943.       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_POINT_mul` 
      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 */
