crypto/evp/p5_crpt2.c:249: error: INTEGER_OVERFLOW_L2
  ([1, 9223372036854775806] + 1):signed32 by call to `PKCS5_PBKDF2_HMAC`.
Showing all 7 steps of the trace


crypto/evp/p5_crpt2.c:248:12: Call
246.       salt = kdf->salt->value.octet_string->data;
247.       saltlen = kdf->salt->value.octet_string->length;
248.       iter = ASN1_INTEGER_get(kdf->iter);
                  ^
249.       if (!PKCS5_PBKDF2_HMAC(pass, passlen, salt, saltlen, iter, prfmd,
250.                              keylen, key))

crypto/asn1/a_int.c:564:9: Assignment
  562.       int64_t r;
  563.       if (a == NULL)
  564.           return 0;
                 ^
  565.       i = ASN1_INTEGER_get_int64(&r, a);
  566.       if (i == 0)

crypto/evp/p5_crpt2.c:248:5: Assignment
246.       salt = kdf->salt->value.octet_string->data;
247.       saltlen = kdf->salt->value.octet_string->length;
248.       iter = ASN1_INTEGER_get(kdf->iter);
           ^
249.       if (!PKCS5_PBKDF2_HMAC(pass, passlen, salt, saltlen, iter, prfmd,
250.                              keylen, key))

crypto/evp/p5_crpt2.c:249:10: Call
247.       saltlen = kdf->salt->value.octet_string->length;
248.       iter = ASN1_INTEGER_get(kdf->iter);
249.       if (!PKCS5_PBKDF2_HMAC(pass, passlen, salt, saltlen, iter, prfmd,
                ^
250.                              keylen, key))
251.           goto err;

crypto/evp/p5_crpt2.c:32:1: <LHS trace>
30.    */
31.   
32. > int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
33.                         const unsigned char *salt, int saltlen, int iter,
34.                         const EVP_MD *digest, int keylen, unsigned char *out)

crypto/evp/p5_crpt2.c:32:1: Parameter `iter`
  30.    */
  31.   
  32. > int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
  33.                         const unsigned char *salt, int saltlen, int iter,
  34.                         const EVP_MD *digest, int keylen, unsigned char *out)

crypto/evp/p5_crpt2.c:92:31: Binary operation: ([1, 9223372036854775806] + 1):signed32 by call to `PKCS5_PBKDF2_HMAC` 
  90.           }
  91.           memcpy(p, digtmp, cplen);
  92.           for (j = 1; j < iter; j++) {
                                      ^
  93.               if (!HMAC_CTX_copy(hctx, hctx_tpl)) {
  94.                   HMAC_CTX_free(hctx);
