Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/gnomint-1.3.0/src/export.h
Examining data/gnomint-1.3.0/src/ca-cli.h
Examining data/gnomint-1.3.0/src/main.h
Examining data/gnomint-1.3.0/src/pkey_manage.c
Examining data/gnomint-1.3.0/src/ca_creation.c
Examining data/gnomint-1.3.0/src/country_table.h
Examining data/gnomint-1.3.0/src/new_cert.h
Examining data/gnomint-1.3.0/src/uint160.c
Examining data/gnomint-1.3.0/src/ca_file.c
Examining data/gnomint-1.3.0/src/ca-cli-callbacks.c
Examining data/gnomint-1.3.0/src/crl.h
Examining data/gnomint-1.3.0/src/export.c
Examining data/gnomint-1.3.0/src/pkey_manage.h
Examining data/gnomint-1.3.0/src/csr_creation.c
Examining data/gnomint-1.3.0/src/csr_creation.h
Examining data/gnomint-1.3.0/src/ca-cli.c
Examining data/gnomint-1.3.0/src/tls.h
Examining data/gnomint-1.3.0/src/gnomint-cli.c
Examining data/gnomint-1.3.0/src/ca_creation.h
Examining data/gnomint-1.3.0/src/certificate_properties.h
Examining data/gnomint-1.3.0/src/new_req_window.h
Examining data/gnomint-1.3.0/src/import.h
Examining data/gnomint-1.3.0/src/ca-cli-callbacks.h
Examining data/gnomint-1.3.0/src/uint160.h
Examining data/gnomint-1.3.0/src/new_ca_window.h
Examining data/gnomint-1.3.0/src/csr_properties.h
Examining data/gnomint-1.3.0/src/creation_process_window.h
Examining data/gnomint-1.3.0/src/preferences.h
Examining data/gnomint-1.3.0/src/ca_policy.c
Examining data/gnomint-1.3.0/src/preferences-window.c
Examining data/gnomint-1.3.0/src/dialog.h
Examining data/gnomint-1.3.0/src/ca_policy.h
Examining data/gnomint-1.3.0/src/preferences-window.h
Examining data/gnomint-1.3.0/src/csr_properties.c
Examining data/gnomint-1.3.0/src/dialog.c
Examining data/gnomint-1.3.0/src/tls.c
Examining data/gnomint-1.3.0/src/preferences-gui.h
Examining data/gnomint-1.3.0/src/preferences-gui.c
Examining data/gnomint-1.3.0/src/preferences.c
Examining data/gnomint-1.3.0/src/country_table.c
Examining data/gnomint-1.3.0/src/import.c
Examining data/gnomint-1.3.0/src/ca.c
Examining data/gnomint-1.3.0/src/certificate_properties.c
Examining data/gnomint-1.3.0/src/creation_process_window.c
Examining data/gnomint-1.3.0/src/crl.c
Examining data/gnomint-1.3.0/src/main.c
Examining data/gnomint-1.3.0/src/new_ca_window.c
Examining data/gnomint-1.3.0/src/new_cert.c
Examining data/gnomint-1.3.0/src/new_req_window.c
Examining data/gnomint-1.3.0/src/ca.h
Examining data/gnomint-1.3.0/src/ca_file.h

FINAL RESULTS:

data/gnomint-1.3.0/src/ca-cli-callbacks.c:144:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf (Q_("CertList ID|%s\t"), argv[CA_FILE_CERT_COLUMN_ID]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:147:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList IsCA|Y\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:149:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList IsCA|N\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:154:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf (Q_("CertList Subject|%s\t"), argv[CA_FILE_CERT_COLUMN_SUBJECT]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:157:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList PadIfSubject<16|\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:159:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList PadIfSubject<8|\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:162:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList PKeyInDB|Y\t\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:164:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList PKeyInDB|N\t\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:168:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList Activation|\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:177:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList Activation|%s\t"), model_time_str);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:182:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList Expiration|\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:191:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CertList Expiration|%s\t"), model_time_str);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:197:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf (Q_("CertList Revocation|\n"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:206:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf (Q_("CertList Revocation|%s\n"), model_time_str);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:237:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf (Q_("CsrList ID|%s\t"), argv[CA_FILE_CSR_COLUMN_ID]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:239:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf (Q_("CsrList ParentID|%s\t"), (argv[CA_FILE_CSR_COLUMN_PARENT_ID] ? argv[CA_FILE_CSR_COLUMN_PARENT_ID] : Q_("CsrList ParentID|\t")));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:244:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf (Q_("CsrList Subject|%-24s\t"), argv[CA_FILE_CSR_COLUMN_SUBJECT]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:247:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CsrList PadIfSubject<16|\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:249:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CsrList PadIfSubject<8|\t"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:252:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CsrList PKeyInDB|Y\n"));
data/gnomint-1.3.0/src/ca-cli-callbacks.c:254:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf (Q_("CsrList PKeyInDB|N\n"));
data/gnomint-1.3.0/src/certificate_properties.c:360:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		buffer_iterator += sprintf(buffer_iterator, "%s\n", _("Digital signature"));
data/gnomint-1.3.0/src/certificate_properties.c:362:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		buffer_iterator += sprintf(buffer_iterator, "%s\n", _("Non repudiation"));
data/gnomint-1.3.0/src/certificate_properties.c:364:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		buffer_iterator += sprintf(buffer_iterator, "%s\n", _("Key encipherment"));
data/gnomint-1.3.0/src/certificate_properties.c:366:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		buffer_iterator += sprintf(buffer_iterator, "%s\n", _("Data encipherment"));
data/gnomint-1.3.0/src/certificate_properties.c:368:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		buffer_iterator += sprintf(buffer_iterator, "%s\n", _("Key agreement"));
data/gnomint-1.3.0/src/certificate_properties.c:370:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		buffer_iterator += sprintf(buffer_iterator, "%s\n", _("Certificate signing"));
data/gnomint-1.3.0/src/certificate_properties.c:372:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		buffer_iterator += sprintf(buffer_iterator, "%s\n", _("CRL signing"));
data/gnomint-1.3.0/src/certificate_properties.c:374:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		buffer_iterator += sprintf(buffer_iterator, "%s\n", _("Key encipherment only"));
data/gnomint-1.3.0/src/certificate_properties.c:376:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		buffer_iterator += sprintf(buffer_iterator, "%s\n", _("Key decipherment only"));
data/gnomint-1.3.0/src/certificate_properties.c:960:28:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		usage_buffer_iterator += sprintf(usage_buffer_iterator, "%s\n", label);
data/gnomint-1.3.0/src/dialog.c:33:7:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
char *getpass(const char *prompt)
data/gnomint-1.3.0/src/dialog.c:96:14:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
		password = getpass(password_message);
data/gnomint-1.3.0/src/dialog.c:108:15:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
		password2 = getpass(confirm_message);
data/gnomint-1.3.0/src/dialog.c:227:8:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
	aux = getpass (message);
data/gnomint-1.3.0/src/dialog.h:50:7:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
char *getpass(const char *prompt);
data/gnomint-1.3.0/src/pkey_manage.c:128:8:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
	aux = getpass ("Please, insert the password corresponding to this file:");
data/gnomint-1.3.0/src/pkey_manage.c:805:10:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
		pass = getpass (_("Please insert the database password:"));
data/gnomint-1.3.0/src/gnomint-cli.c:69:49:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
                defaultfile = g_build_filename (g_get_home_dir(), ".gnomint", "default.gnomint", NULL);
data/gnomint-1.3.0/src/main.c:195:49:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
                defaultfile = g_build_filename (g_get_home_dir(), ".gnomint", "default.gnomint", NULL);
data/gnomint-1.3.0/src/new_cert.c:861:47:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
                directory = g_build_filename (g_get_home_dir(), ".gnome2", "keystore", NULL);
data/gnomint-1.3.0/src/new_cert.c:862:46:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
                filename = g_build_filename (g_get_home_dir(), ".gnome2", "keystore", aux, NULL);
data/gnomint-1.3.0/src/pkey_manage.c:638:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	salt[0]= 32 + (random() % 140);
data/gnomint-1.3.0/src/pkey_manage.c:639:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	salt[1]= 32 + (random() % 140);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:146:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi(argv[CA_FILE_CERT_COLUMN_IS_CA]))
data/gnomint-1.3.0/src/ca-cli-callbacks.c:161:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi(argv[CA_FILE_CERT_COLUMN_PRIVATE_KEY_IN_DB]))
data/gnomint-1.3.0/src/ca-cli-callbacks.c:166:13:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aux_date = atol(argv[CA_FILE_CERT_COLUMN_ACTIVATION]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:180:13:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	aux_date = atol(argv[CA_FILE_CERT_COLUMN_EXPIRATION]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:195:14:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		aux_date = atol(argv[CA_FILE_CERT_COLUMN_REVOCATION]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:251:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi(argv[CA_FILE_CSR_COLUMN_PRIVATE_KEY_IN_DB]))
data/gnomint-1.3.0/src/ca-cli-callbacks.c:471:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char model_time_str[100];
data/gnomint-1.3.0/src/ca-cli-callbacks.c:1014:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	gint primebitlength = atoi (argv[1]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:1401:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	gint policy_id = atoi (argv[2]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:1458:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	gint preference_id = atoi (argv[1]);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:1459:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	gint value = atoi (argv[2]);
data/gnomint-1.3.0/src/ca.c:230:60:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                    CA_MODEL_COLUMN_IS_CA, atoi(argv[CA_FILE_CERT_COLUMN_IS_CA]),
data/gnomint-1.3.0/src/ca.c:233:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                    CA_MODEL_COLUMN_ACTIVATION, atoi(argv[CA_FILE_CERT_COLUMN_ACTIVATION]),
data/gnomint-1.3.0/src/ca.c:234:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                    CA_MODEL_COLUMN_EXPIRATION, atoi(argv[CA_FILE_CERT_COLUMN_EXPIRATION]),
data/gnomint-1.3.0/src/ca.c:236:72:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                    CA_MODEL_COLUMN_PRIVATE_KEY_IN_DB, atoi(argv[CA_FILE_CERT_COLUMN_PRIVATE_KEY_IN_DB]),
data/gnomint-1.3.0/src/ca.c:249:60:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                    CA_MODEL_COLUMN_IS_CA, atoi(argv[CA_FILE_CERT_COLUMN_IS_CA]),
data/gnomint-1.3.0/src/ca.c:252:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                    CA_MODEL_COLUMN_ACTIVATION, atoi(argv[CA_FILE_CERT_COLUMN_ACTIVATION]),
data/gnomint-1.3.0/src/ca.c:253:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                    CA_MODEL_COLUMN_EXPIRATION, atoi(argv[CA_FILE_CERT_COLUMN_EXPIRATION]),
data/gnomint-1.3.0/src/ca.c:254:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                    CA_MODEL_COLUMN_REVOCATION, atoi(argv[CA_FILE_CERT_COLUMN_REVOCATION]),
data/gnomint-1.3.0/src/ca.c:255:72:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                    CA_MODEL_COLUMN_PRIVATE_KEY_IN_DB, atoi(argv[CA_FILE_CERT_COLUMN_PRIVATE_KEY_IN_DB]),
data/gnomint-1.3.0/src/ca.c:299:64:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                            CA_MODEL_COLUMN_PRIVATE_KEY_IN_DB, atoi(argv[CA_FILE_CSR_COLUMN_PRIVATE_KEY_IN_DB]),
data/gnomint-1.3.0/src/ca_file.c:200:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        close(open(filename, O_CREAT, 0600));
data/gnomint-1.3.0/src/ca_file.c:289:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (result && result[0] && atoi(result[0]) == CURRENT_GNOMINT_DB_VERSION) {
data/gnomint-1.3.0/src/ca_file.c:301:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		db_version_in_file = atoi(result[0]);
data/gnomint-1.3.0/src/ca_file.c:913:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				if (atoi(data_table[(i*3)]) != 0 && strcmp(data_table[(i*3)+1], "ca_root_certificate_pem")) {
data/gnomint-1.3.0/src/ca_file.c:1104:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	result = atoi (aux[0]);
data/gnomint-1.3.0/src/ca_file.c:1117:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	result = atoi (aux[0]);
data/gnomint-1.3.0/src/ca_file.c:1146:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if (atoi(row[0])) {
data/gnomint-1.3.0/src/ca_file.c:1511:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi(existent_res[0]) != 0) {
data/gnomint-1.3.0/src/ca_file.c:2013:30:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                revocation = atol (cursor->data);
data/gnomint-1.3.0/src/ca_file.c:2040:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                next_crl_version = atoi (last_crl[0]) + 1;
data/gnomint-1.3.0/src/ca_file.c:2136:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi(argv[1]) == 0)
data/gnomint-1.3.0/src/ca_file.c:2216:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi(argv[1]) == 0)
data/gnomint-1.3.0/src/ca_file.c:2311:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi(argv[1]) == 0)
data/gnomint-1.3.0/src/ca_file.c:2588:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	res = atoi(aux);
data/gnomint-1.3.0/src/ca_file.c:2703:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	res = atoi(row[0]);
data/gnomint-1.3.0/src/ca_file.c:2756:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	res = (atoi(aux[0]) > 0);
data/gnomint-1.3.0/src/ca_file.c:2774:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	res = (atoi(aux[0]) > 0);
data/gnomint-1.3.0/src/ca_file.c:2792:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	res = (atoi(aux[0]) > 0);
data/gnomint-1.3.0/src/ca_policy.c:65:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:72:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:79:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:86:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:93:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:100:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:105:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:110:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:115:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:120:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:125:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:135:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:140:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:145:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:150:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:155:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:160:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:165:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:170:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:175:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:180:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:185:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:190:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:195:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:200:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/ca_policy.c:205:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = strvalue ? atoi(strvalue) : 0;
data/gnomint-1.3.0/src/certificate_properties.c:280:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		result_iterator += sprintf(result_iterator, "%02x:", buffer[i]);
data/gnomint-1.3.0/src/certificate_properties.c:388:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(value, "v%d", result);
data/gnomint-1.3.0/src/crl.c:128:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			    CRL_CA_MODEL_COLUMN_ID, atoi(argv[CRL_CA_MODEL_COLUMN_ID]), 
data/gnomint-1.3.0/src/dialog.c:35:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[128];
data/gnomint-1.3.0/src/dialog.c:207:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (atoi (line) <= maximum && atoi(line) >= minimum) {
data/gnomint-1.3.0/src/dialog.c:207:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (atoi (line) <= maximum && atoi(line) >= minimum) {
data/gnomint-1.3.0/src/dialog.c:208:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			result = (atoi (line));
data/gnomint-1.3.0/src/import.c:853:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (file_contents, g_mapped_file_get_contents (mapped_file), file_contents_size);
data/gnomint-1.3.0/src/main.c:156:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        width = atoi (result[1]);
data/gnomint-1.3.0/src/main.c:158:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                height = atoi (result[2]);
data/gnomint-1.3.0/src/pkey_manage.c:370:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (&res[i*2], "%02X", buffer[i]);
data/gnomint-1.3.0/src/tls.c:1412:30:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                revocation = atol (cursor->data);
data/gnomint-1.3.0/src/uint160.c:291:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf (&buffer[pos], "%08" G_GINT32_MODIFIER "x", value);
data/gnomint-1.3.0/src/uint160.c:297:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf (&buffer[pos], "%08" G_GINT32_MODIFIER "x", value);
data/gnomint-1.3.0/src/uint160.c:301:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf (&buffer[pos], "%08" G_GINT32_MODIFIER "x", value);
data/gnomint-1.3.0/src/uint160.c:306:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (&buffer[pos], "%08" G_GINT32_MODIFIER "x", value);
data/gnomint-1.3.0/src/uint160.c:310:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (&buffer[pos], "%08" G_GINT32_MODIFIER "x", value);
data/gnomint-1.3.0/src/ca-cli-callbacks.c:151:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(argv[CA_FILE_CERT_COLUMN_SUBJECT]) > 16)
data/gnomint-1.3.0/src/ca-cli-callbacks.c:156:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (argv[CA_FILE_CERT_COLUMN_SUBJECT]) / 8 < 2)
data/gnomint-1.3.0/src/ca-cli-callbacks.c:158:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (argv[CA_FILE_CERT_COLUMN_SUBJECT]) / 8 < 1)
data/gnomint-1.3.0/src/ca-cli-callbacks.c:241:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(argv[CA_FILE_CSR_COLUMN_SUBJECT]) > 24)
data/gnomint-1.3.0/src/ca-cli-callbacks.c:246:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (argv[CA_FILE_CSR_COLUMN_SUBJECT]) / 8 < 2)
data/gnomint-1.3.0/src/ca-cli-callbacks.c:248:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (argv[CA_FILE_CSR_COLUMN_SUBJECT]) / 8 < 1)
data/gnomint-1.3.0/src/ca-cli-callbacks.c:1418:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i=strlen (description) - 1; i>=0; i--) {
data/gnomint-1.3.0/src/ca-cli.c:144:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (strlen (line) != 0) {
data/gnomint-1.3.0/src/ca-cli.c:159:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                if (aux[i][strlen(aux[i]) - 1] == '\\') {
data/gnomint-1.3.0/src/ca-cli.c:161:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					aux[i][strlen(aux[i]) - 1] = '\0';
data/gnomint-1.3.0/src/ca-cli.c:185:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
								if (aux2[i][j] && aux2[i][j][strlen(aux2[i][j]) - 1] == '\\') {
data/gnomint-1.3.0/src/ca-cli.c:187:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									aux2[i][j][strlen(aux2[i][j]) - 1] = '\0';
data/gnomint-1.3.0/src/ca-cli.c:204:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									if (strlen(aux2[i][j])) {
data/gnomint-1.3.0/src/ca.c:853:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                g_io_channel_write_chars (file, pem, strlen(pem), NULL, &error);
data/gnomint-1.3.0/src/ca.c:868:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					g_io_channel_write_chars (file, parent_pem, strlen(parent_pem), NULL, &error);
data/gnomint-1.3.0/src/ca.c:1054:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (error_msg && strlen(error_msg)) {
data/gnomint-1.3.0/src/ca.c:1674:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(pwd1) && strlen(pwd2) && ! strcmp(pwd1, pwd2)) {
data/gnomint-1.3.0/src/ca.c:1674:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(pwd1) && strlen(pwd2) && ! strcmp(pwd1, pwd2)) {
data/gnomint-1.3.0/src/ca.c:1675:80:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (!ca_file_is_password_protected() || (ca_file_is_password_protected() && strlen(currpwd)))
data/gnomint-1.3.0/src/ca_file.c:100:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(value) < pad_size) {
data/gnomint-1.3.0/src/ca_file.c:101:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                aux = g_strnfill (pad_size - strlen(value),'0');
data/gnomint-1.3.0/src/ca_file.c:132:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        if (strlen(aux2[i]) && strlen(aux2[i]) < pad_size) {
data/gnomint-1.3.0/src/ca_file.c:132:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        if (strlen(aux2[i]) && strlen(aux2[i]) < pad_size) {
data/gnomint-1.3.0/src/ca_file.c:133:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                aux3 = g_strnfill (pad_size - strlen(aux2[i]), '0');
data/gnomint-1.3.0/src/ca_file.c:579:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				hex_guint64_format_string[strlen(hex_guint64_format_string) - 1] = 'X';
data/gnomint-1.3.0/src/ca_file.c:582:72:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                uint160_read (&aux160, (guchar *) aux, strlen(aux));
data/gnomint-1.3.0/src/ca_file.c:857:94:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                uint160_read_escaped_old_format (&serial, data_table[(i*2)], strlen (data_table[i*2]));
data/gnomint-1.3.0/src/ca_file.c:1135:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		uint160_read_escaped (serial, row[0], strlen (row[0]));
data/gnomint-1.3.0/src/ca_file.c:2407:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		num_chars = strlen (aux);
data/gnomint-1.3.0/src/ca_file.c:2441:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		num_chars = strlen (aux);
data/gnomint-1.3.0/src/certificate_properties.c:507:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	not_before_asctime[strlen(not_before_asctime) - 1] = 0;
data/gnomint-1.3.0/src/certificate_properties.c:519:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	not_after_asctime[strlen(not_after_asctime) - 1] = 0;
data/gnomint-1.3.0/src/certificate_properties.c:1118:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pem_datum.size = strlen(certificate_pem);
data/gnomint-1.3.0/src/crl.c:348:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                g_io_channel_write_chars (file, pem, strlen(pem), NULL, &error);
data/gnomint-1.3.0/src/dialog.c:102:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (res) < minimum_length) {
data/gnomint-1.3.0/src/dialog.c:106:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		memset (password, 0, strlen (res));
data/gnomint-1.3.0/src/dialog.c:112:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			memset (password, 0, strlen (password2));		
data/gnomint-1.3.0/src/dialog.c:115:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	} while (strlen (res) < minimum_length || strcmp (res, password2) );
data/gnomint-1.3.0/src/dialog.c:117:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memset (password, 0, strlen (password2));		
data/gnomint-1.3.0/src/dialog.c:143:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (line) == 0)
data/gnomint-1.3.0/src/dialog.c:203:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line == NULL || strlen (line) == 0) {
data/gnomint-1.3.0/src/dialog.c:233:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		memset (aux, 0, strlen(aux));
data/gnomint-1.3.0/src/dialog.c:256:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (line == NULL || strlen(line) == 0) {
data/gnomint-1.3.0/src/dialog.c:381:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (gtk_entry_get_text (GTK_ENTRY(password_entry))) >= minimum_length)
data/gnomint-1.3.0/src/export.c:43:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_io_channel_write_chars (file, pem, strlen(pem), NULL, &error);
data/gnomint-1.3.0/src/export.c:121:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_io_channel_write_chars (file, pem, strlen(pem), NULL, &error);
data/gnomint-1.3.0/src/export.c:178:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_io_channel_write_chars (file, pem, strlen(pem), NULL, &error);
data/gnomint-1.3.0/src/import.c:249:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                file_datum.size = strlen(cert_pem);
data/gnomint-1.3.0/src/import.c:1017:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	result = import_pkey_wo_passwd ((guchar *) filecontents, strlen(filecontents));
data/gnomint-1.3.0/src/new_ca_window.c:95:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (gtk_entry_get_text (GTK_ENTRY(editable)))) 
data/gnomint-1.3.0/src/new_ca_window.c:150:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(text1) && strlen(text2) && ! strcmp(text1, text2)) {
data/gnomint-1.3.0/src/new_ca_window.c:150:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(text1) && strlen(text2) && ! strcmp(text1, text2)) {
data/gnomint-1.3.0/src/new_ca_window.c:219:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_ca_window.c:226:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_ca_window.c:233:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_ca_window.c:240:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_ca_window.c:247:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_ca_window.c:284:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_cert.c:865:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        g_file_set_contents (filename, certificate, strlen(certificate), NULL);
data/gnomint-1.3.0/src/new_req_window.c:269:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (gtk_entry_get_text (GTK_ENTRY(editable)))) 
data/gnomint-1.3.0/src/new_req_window.c:450:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_req_window.c:457:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_req_window.c:464:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_req_window.c:471:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/new_req_window.c:478:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (text))
data/gnomint-1.3.0/src/pkey_manage.c:134:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		memset (aux, 0, strlen(aux));
data/gnomint-1.3.0/src/pkey_manage.c:380:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	guchar *res = g_new0 (guchar, (strlen(input)/2) + 1);
data/gnomint-1.3.0/src/pkey_manage.c:382:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i=0; i<strlen(input); i++) {
data/gnomint-1.3.0/src/pkey_manage.c:401:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(password) <= 32) {
data/gnomint-1.3.0/src/pkey_manage.c:403:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		for (i=0; i<32; i=i+strlen(password)) {
data/gnomint-1.3.0/src/pkey_manage.c:410:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			for (j=0; j<32 && j<strlen(&password[i]); j++) {
data/gnomint-1.3.0/src/pkey_manage.c:414:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		} while (i<strlen(password));
data/gnomint-1.3.0/src/pkey_manage.c:426:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	guint in_length = strlen (in);
data/gnomint-1.3.0/src/pkey_manage.c:518:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	get = gcry_cipher_encrypt(cry_ctxt, out, strlen(in), NULL, 0);	
data/gnomint-1.3.0/src/pkey_manage.c:526:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	res = __pkey_manage_to_hex (out, strlen(in));
data/gnomint-1.3.0/src/pkey_manage.c:549:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (iv_hex, &string[3], 32);
data/gnomint-1.3.0/src/pkey_manage.c:550:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (ctr_hex, &string[35], 32);
data/gnomint-1.3.0/src/pkey_manage.c:619:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	get = gcry_cipher_decrypt(cry_ctxt, out, strlen(string)/2, NULL, 0);	
data/gnomint-1.3.0/src/pkey_manage.c:811:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			memset (pass, 0, strlen(pass));
data/gnomint-1.3.0/src/tls.c:110:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pem_datum.size = strlen(pem_private_key);
data/gnomint-1.3.0/src/tls.c:151:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pkcs8_datum.size = strlen (pkcs8_pem);
data/gnomint-1.3.0/src/tls.c:238:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pem_datum.size = strlen(pem_private_key);
data/gnomint-1.3.0/src/tls.c:273:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        pem_datum.size = strlen(pem_cert);
data/gnomint-1.3.0/src/tls.c:470:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->country, strlen(creation_data->country));
data/gnomint-1.3.0/src/tls.c:472:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						      0, creation_data->country, strlen(creation_data->country));
data/gnomint-1.3.0/src/tls.c:477:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->state, strlen(creation_data->state));
data/gnomint-1.3.0/src/tls.c:479:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->state, strlen(creation_data->state));
data/gnomint-1.3.0/src/tls.c:483:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->city, strlen(creation_data->city));
data/gnomint-1.3.0/src/tls.c:485:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->city, strlen(creation_data->city));
data/gnomint-1.3.0/src/tls.c:489:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->org, strlen(creation_data->org));
data/gnomint-1.3.0/src/tls.c:491:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->org, strlen(creation_data->org));
data/gnomint-1.3.0/src/tls.c:495:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->ou, strlen(creation_data->ou));
data/gnomint-1.3.0/src/tls.c:497:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->ou, strlen(creation_data->ou));
data/gnomint-1.3.0/src/tls.c:501:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->cn, strlen(creation_data->cn));	
data/gnomint-1.3.0/src/tls.c:503:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						      0, creation_data->cn, strlen(creation_data->cn));	
data/gnomint-1.3.0/src/tls.c:584:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->country, strlen(creation_data->country));
data/gnomint-1.3.0/src/tls.c:589:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->state, strlen(creation_data->state));
data/gnomint-1.3.0/src/tls.c:593:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->city, strlen(creation_data->city));
data/gnomint-1.3.0/src/tls.c:597:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->org, strlen(creation_data->org));
data/gnomint-1.3.0/src/tls.c:601:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->ou, strlen(creation_data->ou));
data/gnomint-1.3.0/src/tls.c:605:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, creation_data->cn, strlen(creation_data->cn));	
data/gnomint-1.3.0/src/tls.c:654:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	csr_pem_datum.size = strlen(csr_pem);
data/gnomint-1.3.0/src/tls.c:657:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ca_cert_pem_datum.size = strlen(ca_cert_pem);
data/gnomint-1.3.0/src/tls.c:660:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ca_priv_key_pem_datum.size = strlen(ca_priv_key_pem);
data/gnomint-1.3.0/src/tls.c:726:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						      0, ca_cert_data->c, strlen(ca_cert_data->c));
data/gnomint-1.3.0/src/tls.c:730:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						      0, ca_cert_data->st, strlen(ca_cert_data->st));
data/gnomint-1.3.0/src/tls.c:734:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, ca_cert_data->l, strlen(ca_cert_data->l));
data/gnomint-1.3.0/src/tls.c:738:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, ca_cert_data->o, strlen(ca_cert_data->o));
data/gnomint-1.3.0/src/tls.c:742:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       0, ca_cert_data->ou, strlen(ca_cert_data->ou));
data/gnomint-1.3.0/src/tls.c:746:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						      0, ca_cert_data->cn, strlen(ca_cert_data->cn));	
data/gnomint-1.3.0/src/tls.c:890:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pem_datum.size = strlen(pem_certificate);
data/gnomint-1.3.0/src/tls.c:1192:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pem_datum.size = strlen(pem_certificate);
data/gnomint-1.3.0/src/tls.c:1251:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pem_datum.size = strlen(pem_csr);
data/gnomint-1.3.0/src/tls.c:1417:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                pem_datum.size = strlen((gchar *) certificate_pem);
data/gnomint-1.3.0/src/tls.c:1453:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        pem_datum.size = strlen((gchar *)ca_pem);
data/gnomint-1.3.0/src/tls.c:1463:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        pem_datum.size = strlen((gchar *) ca_private_key);
data/gnomint-1.3.0/src/tls.c:1533:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        pem_datum.size = strlen(cert_pem);
data/gnomint-1.3.0/src/tls.c:1546:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        pem_datum.size = strlen(ca_pem);
data/gnomint-1.3.0/src/tls.c:1577:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        pem_datum.size = strlen(privkey_pem);
data/gnomint-1.3.0/src/tls.c:1621:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        pem_datum.size = strlen(certificate_pem);
data/gnomint-1.3.0/src/tls.c:1695:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        pem_datum.size = strlen(csr_pem);
data/gnomint-1.3.0/src/uint160.c:68:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (i=0; i < strlen(stripped_value); i++) {

ANALYSIS SUMMARY:

Hits = 248
Lines analyzed = 18930 in approximately 0.73 seconds (26022 lines/second)
Physical Source Lines of Code (SLOC) = 13488
Hits@level = [0] 308 [1] 122 [2]  82 [3]   6 [4]  38 [5]   0
Hits@level+ = [0+] 556 [1+] 248 [2+] 126 [3+]  44 [4+]  38 [5+]   0
Hits/KSLOC@level+ = [0+] 41.2218 [1+] 18.3867 [2+] 9.34164 [3+] 3.26216 [4+] 2.81732 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.