crypto/pkcs12/p12_crpt.c:46: error: INTEGER_OVERFLOW_L2
  ([1, 9223372036854775806] + 1):signed32 by call to `PKCS12_key_gen_utf8`.
Showing all 7 steps of the trace


crypto/pkcs12/p12_crpt.c:41:9: Assignment
39.   
40.       if (!pbe->iter)
41.           iter = 1;
              ^
42.       else
43.           iter = ASN1_INTEGER_get(pbe->iter);

crypto/pkcs12/p12_crpt.c:46:10: Call
44.       salt = pbe->salt->data;
45.       saltlen = pbe->salt->length;
46.       if (!PKCS12_key_gen(pass, passlen, salt, saltlen, PKCS12_KEY_ID,
               ^
47.                           iter, EVP_CIPHER_key_length(cipher), key, md)) {
48.           PKCS12err(PKCS12_F_PKCS12_PBE_KEYIVGEN, PKCS12_R_KEY_GEN_ERROR);

crypto/pkcs12/p12_key.c:53:1: Parameter `iter`
  51.   }
  52.   
  53. > int PKCS12_key_gen_utf8(const char *pass, int passlen, unsigned char *salt,
  54.                           int saltlen, int id, int iter, int n,
  55.                           unsigned char *out, const EVP_MD *md_type)

crypto/pkcs12/p12_key.c:68:11: Call
  66.           return 0;
  67.       }
  68.       ret = PKCS12_key_gen_uni(unipass, uniplen, salt, saltlen,
                  ^
  69.                                id, iter, n, out, md_type);
  70.       if (ret <= 0)

crypto/pkcs12/p12_key.c:76:1: <LHS trace>
74.   }
75.   
76. > int PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt,
77.                          int saltlen, int id, int iter, int n,
78.                          unsigned char *out, const EVP_MD *md_type)

crypto/pkcs12/p12_key.c:76:1: Parameter `iter`
    74.   }
    75.   
    76. > int PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt,
    77.                          int saltlen, int id, int iter, int n,
    78.                          unsigned char *out, const EVP_MD *md_type)

crypto/pkcs12/p12_key.c:135:31: Binary operation: ([1, 9223372036854775806] + 1):signed32 by call to `PKCS12_key_gen_utf8` 
    133.               || !EVP_DigestFinal_ex(ctx, Ai, NULL))
    134.               goto err;
    135.           for (j = 1; j < iter; j++) {
                                         ^
    136.               if (!EVP_DigestInit_ex(ctx, md_type, NULL)
    137.                   || !EVP_DigestUpdate(ctx, Ai, u)
