crypto/ecdsa/ecs_ossl.c:315: error: INTEGER_OVERFLOW_L2
  ([1, +oo] - [-125, 127]):unsigned64 by call to `ecdsa_sign_setup`.
Showing all 11 steps of the trace


crypto/ecdsa/ecs_ossl.c:259:1: Parameter `dgst_len`
257.   }
258.   
259. > static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dgst_len,
260.                                   const BIGNUM *in_kinv, const BIGNUM *in_r,
261.                                   EC_KEY *eckey)

crypto/ecdsa/ecs_ossl.c:315:18: Call
313.       do {
314.           if (in_kinv == NULL || in_r == NULL) {
315.               if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len)) {
                        ^
316.                   ECDSAerr(ECDSA_F_ECDSA_DO_SIGN, ERR_R_ECDSA_LIB);
317.                   goto err;

crypto/ecdsa/ecs_ossl.c:100:1: Parameter `dlen`
  98.   }
  99.   
  100. > static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in,
  101.                               BIGNUM **kinvp, BIGNUM **rp,
  102.                               const unsigned char *dgst, int dlen)

crypto/ecdsa/ecs_ossl.c:145:22: Call
  143.   #ifndef OPENSSL_NO_SHA512
  144.               if (dgst != NULL) {
  145.                   if (!BN_generate_dsa_nonce
                              ^
  146.                       (k, order, EC_KEY_get0_private_key(eckey), dgst, dlen,
  147.                        ctx)) {

crypto/bn/bn_rand.c:301:1: Parameter `message_len`
    299.    * used.
    300.    */
    301. > int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
    302.                             const BIGNUM *priv, const unsigned char *message,
    303.                             size_t message_len, BN_CTX *ctx)

crypto/bn/bn_rand.c:343:9: Call
    341.           SHA512_Update(&sha, &done, sizeof(done));
    342.           SHA512_Update(&sha, private_bytes, sizeof(private_bytes));
    343.           SHA512_Update(&sha, message, message_len);
                   ^
    344.           SHA512_Update(&sha, random_bytes, sizeof(random_bytes));
    345.           SHA512_Final(digest, &sha);

crypto/sha/sha512.c:186:1: <LHS trace>
184.   }
185.   
186. > int SHA512_Update(SHA512_CTX *c, const void *_data, size_t len)
187.   {
188.       SHA_LONG64 l;

crypto/sha/sha512.c:186:1: Parameter `len`
      184.   }
      185.   
      186. > int SHA512_Update(SHA512_CTX *c, const void *_data, size_t len)
      187.   {
      188.       SHA_LONG64 l;

crypto/sha/sha512.c:186:1: <RHS trace>
184.   }
185.   
186. > int SHA512_Update(SHA512_CTX *c, const void *_data, size_t len)
187.   {
188.       SHA_LONG64 l;

crypto/sha/sha512.c:186:1: Parameter `len`
      184.   }
      185.   
      186. > int SHA512_Update(SHA512_CTX *c, const void *_data, size_t len)
      187.   {
      188.       SHA_LONG64 l;

crypto/sha/sha512.c:210:13: Binary operation: ([1, +oo] - [-125, 127]):unsigned64 by call to `ecdsa_sign_setup` 
      208.           } else {
      209.               memcpy(p + c->num, data, n), c->num = 0;
      210.               len -= n, data += n;
                         ^
      211.               sha512_block_data_order(c, p, 1);
      212.           }
