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/f-irc-1.36/config.h
Examining data/f-irc-1.36/colors.h
Examining data/f-irc-1.36/nickcolor.h
Examining data/f-irc-1.36/dcc.h
Examining data/f-irc-1.36/lf_buffer.c
Examining data/f-irc-1.36/tcp.c
Examining data/f-irc-1.36/servers.c
Examining data/f-irc-1.36/loop.c
Examining data/f-irc-1.36/dictionary.c
Examining data/f-irc-1.36/user.h
Examining data/f-irc-1.36/term.c
Examining data/f-irc-1.36/dcc.c
Examining data/f-irc-1.36/wordcloud.c
Examining data/f-irc-1.36/headlines.h
Examining data/f-irc-1.36/config.c
Examining data/f-irc-1.36/gen.h
Examining data/f-irc-1.36/lf_buffer.h
Examining data/f-irc-1.36/wordcloud.h
Examining data/f-irc-1.36/key_value.c
Examining data/f-irc-1.36/names.c
Examining data/f-irc-1.36/colors.c
Examining data/f-irc-1.36/headlines.c
Examining data/f-irc-1.36/ctcp.c
Examining data/f-irc-1.36/utils.h
Examining data/f-irc-1.36/names.h
Examining data/f-irc-1.36/ansi.h
Examining data/f-irc-1.36/ansi.c
Examining data/f-irc-1.36/grep_filter.c
Examining data/f-irc-1.36/term.h
Examining data/f-irc-1.36/scrollback.c
Examining data/f-irc-1.36/utf8.c
Examining data/f-irc-1.36/scrollback.h
Examining data/f-irc-1.36/tcp.h
Examining data/f-irc-1.36/key_value.h
Examining data/f-irc-1.36/chistory.c
Examining data/f-irc-1.36/help.c
Examining data/f-irc-1.36/checkmail.h
Examining data/f-irc-1.36/channels.h
Examining data/f-irc-1.36/nickcolor.c
Examining data/f-irc-1.36/irc.h
Examining data/f-irc-1.36/irc.c
Examining data/f-irc-1.36/servers.h
Examining data/f-irc-1.36/buffer.c
Examining data/f-irc-1.36/ctcp.h
Examining data/f-irc-1.36/soundex.c
Examining data/f-irc-1.36/utf8.h
Examining data/f-irc-1.36/main.c
Examining data/f-irc-1.36/checkmail.c
Examining data/f-irc-1.36/ignores.h
Examining data/f-irc-1.36/autocomplete.h
Examining data/f-irc-1.36/string_array.c
Examining data/f-irc-1.36/grep_filter.h
Examining data/f-irc-1.36/string_array.h
Examining data/f-irc-1.36/help.h
Examining data/f-irc-1.36/user.c
Examining data/f-irc-1.36/channels.c
Examining data/f-irc-1.36/utils.c
Examining data/f-irc-1.36/ignores.c
Examining data/f-irc-1.36/loop.h
Examining data/f-irc-1.36/dictionary.h
Examining data/f-irc-1.36/theme.h
Examining data/f-irc-1.36/main.h
Examining data/f-irc-1.36/autocomplete.c
Examining data/f-irc-1.36/error.c
Examining data/f-irc-1.36/buffer.h
Examining data/f-irc-1.36/chistory.h
Examining data/f-irc-1.36/error.h
Examining data/f-irc-1.36/soundex.h
Examining data/f-irc-1.36/theme.c

FINAL RESULTS:

data/f-irc-1.36/ctcp.c:58:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(out, temp);
data/f-irc-1.36/error.c:35:8:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	(void)vfprintf(stderr, format, ap);
data/f-irc-1.36/user.c:2352:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
						sprintf(&str_out[val_pos], "%s,%s", color_to_str(cfg), color_to_str(cbg));
data/f-irc-1.36/utils.c:244:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vfprintf(fh, s, ap);
data/f-irc-1.36/checkmail.c:21:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They 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.
	mail_spool_file = getenv("MAIL");
data/f-irc-1.36/main.c:643:2:  [3] (random) srand:
  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.
	srand(time(NULL));
data/f-irc-1.36/main.c:701:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They 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.
		const char *dummy = getenv("HOME");
data/f-irc-1.36/servers.c:192:24:  [3] (random) lrand48:
  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.
	long int some_value = lrand48();
data/f-irc-1.36/term.c:269:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They 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.
		char *dummy = getenv("COLUMNS");
data/f-irc-1.36/term.c:275:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They 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.
		dummy = getenv("LINES");
data/f-irc-1.36/ansi.c:68:13:  [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).
		int val = atoi(string_array_get(&parts, index));
data/f-irc-1.36/autocomplete.c:84: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 str_buffer[4096] = { 0 };
data/f-irc-1.36/autocomplete.c:148: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 str_buffer[4096] = { 0 };
data/f-irc-1.36/channels.c:109:3:  [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(pc, undo_channels[N_CU - 1].data, sizeof(channel));
data/f-irc-1.36/channels.c:143: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(undo_channels[N_CU - 1].data, pc, sizeof(channel));
data/f-irc-1.36/config.c:217:7:  [2] (misc) fopen:
  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).
	fh = fopen(conf_file, "wb");
data/f-irc-1.36/config.c:416:11:  [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).
	int fd = open(file, O_RDONLY);
data/f-irc-1.36/config.c:730: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).
			check_for_mail = atoi(par);
data/f-irc-1.36/config.c:732: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).
			user_column_width = atoi(par);
data/f-irc-1.36/config.c:734: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).
			delay_before_reconnect = atoi(par);
data/f-irc-1.36/config.c:736: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).
			word_cloud_n = atoi(par);
data/f-irc-1.36/config.c:739:25:  [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).
			word_cloud_refresh = atoi(par);
data/f-irc-1.36/config.c:743:28:  [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).
			word_cloud_win_height = atoi(par);
data/f-irc-1.36/config.c:745:31:  [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).
			max_channel_record_lines = atoi(par);
data/f-irc-1.36/config.c:747:31:  [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).
			word_cloud_min_word_size = atoi(par);
data/f-irc-1.36/ctcp.c:27: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(out, in, len + 1);
data/f-irc-1.36/ctcp.c:121: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(space) == ps -> user_ping_id)	/* is it a reply? */
data/f-irc-1.36/ctcp.c:248:16:  [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).
				int port = atoi(string_array_get(&parts, 1));
data/f-irc-1.36/ctcp.c:249:16:  [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).
				int size = atoi(string_array_get(&parts, 2));
data/f-irc-1.36/dcc.c:118:25:  [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).
	dcc_list[di].fd_file = open(filename, O_RDONLY);
data/f-irc-1.36/dcc.c:211:12:  [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).
		int ip = atoi(addr_in);
data/f-irc-1.36/dcc.c:281:26:  [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).
		dcc_list[di].fd_file = open(local_filename, O_WRONLY | O_CREAT | O_EXCL, S_IRWXU | S_IRGRP | S_IROTH);
data/f-irc-1.36/dcc.c:305: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 io_buffer[BUFFER_SIZE] = { 0 };
data/f-irc-1.36/dcc.c:379: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 io_buffer[BUFFER_SIZE] = { 0 };
data/f-irc-1.36/dictionary.c:17: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 buffer[4096] = { 0 };
data/f-irc-1.36/dictionary.c:18:13:  [2] (misc) fopen:
  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).
	FILE *fh = fopen(dictionary_file, "r");
data/f-irc-1.36/dictionary.c:48:13:  [2] (misc) fopen:
  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).
	FILE *fh = fopen(dictionary_file, "w");
data/f-irc-1.36/grep_filter.c:30:3:  [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 buffer[4096] = { 0 };
data/f-irc-1.36/grep_filter.c:68:17:  [2] (misc) fopen:
  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).
					FILE *fh = fopen(gp -> gf_list[loop].file, "a+");
data/f-irc-1.36/ignores.c:91:11:  [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).
	int fd = open(file, O_RDONLY);
data/f-irc-1.36/ignores.c:158:7:  [2] (misc) fopen:
  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).
	fh = fopen(ignore_file, "w");
data/f-irc-1.36/irc.c:192:12:  [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).
		cmd_nr = atoi(cmd);
data/f-irc-1.36/irc.c:648:12:  [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).
				idle = atoi(space);
data/f-irc-1.36/irc.c:660:23:  [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).
					signon = (time_t)atol(space);
data/f-irc-1.36/irc.c:967: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 str_buffer[IRC_MAX_MSG_LEN] = { 0 };
data/f-irc-1.36/lf_buffer.c:29: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(&p -> data[p -> size], what, what_size);
data/f-irc-1.36/loop.c:440:10:  [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.
			const char *pars[3] = { NULL };
data/f-irc-1.36/loop.c:1061:9:  [2] (misc) fopen:
  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).
			fh = fopen(file, "a+");
data/f-irc-1.36/main.c:518:4:  [2] (buffer) wchar_t:
  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.
			wchar_t temp[2] = { 0 };
data/f-irc-1.36/scrollback.c:146:14:  [2] (misc) fopen:
  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).
		FILE *fh = fopen(file, "wb");
data/f-irc-1.36/servers.c:151:40:  [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).
		server_list[n_servers].server_port = atoi(colon + 1);
data/f-irc-1.36/servers.c:546: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 str_buffer[65536] = { 0 };
data/f-irc-1.36/tcp.c:87:3:  [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 peer_name[4096] = { 0 };
data/f-irc-1.36/tcp.c:125: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 portnr_str[8] = { 0 };
data/f-irc-1.36/tcp.c:178: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 peer_name[4096] = { 0 };
data/f-irc-1.36/term.c:271:12:  [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).
			max_x = atoi(dummy);
data/f-irc-1.36/term.c:277:12:  [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).
			max_x = atoi(dummy);
data/f-irc-1.36/term.c:408: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(&line[win -> ncols / 2 - len / 2], msg_use, len);
data/f-irc-1.36/theme.c:151:11:  [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).
	int fd = open(file, O_RDONLY);
data/f-irc-1.36/theme.c:240:26:  [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).
					colorpnt -> index = atoi(par);
data/f-irc-1.36/theme.c:268:22:  [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).
					colorpnt -> r = atoi(par);
data/f-irc-1.36/theme.c:269:22:  [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).
					colorpnt -> g = atoi(komma + 1);
data/f-irc-1.36/theme.c:273:22:  [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).
					colorpnt -> b = atoi(komma + 1);
data/f-irc-1.36/theme.c:281: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).
				*intpnt = atoi(par);
data/f-irc-1.36/user.c:1225:4:  [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(buffer, temp, clen);
data/f-irc-1.36/user.c:1405:4:  [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(buffer, string_array_get(p, use_index), clen);
data/f-irc-1.36/user.c:1647:30:  [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).
				gsr(sr) -> server_port = atoi(n);
data/f-irc-1.36/user.c:2330:8:  [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(&str_out[val_pos], "ON");
data/f-irc-1.36/user.c:2332:8:  [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(&str_out[val_pos], "OFF");
data/f-irc-1.36/user.c:2338:7:  [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(&str_out[val_pos], "%d", *pi);
data/f-irc-1.36/user.c:2342:14:  [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.
						pc = *(char **)cnf_pars[pos].p;
data/f-irc-1.36/user.c:2455:12:  [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).
						*pi= atoi(new_str);
data/f-irc-1.36/user.c:2463:13:  [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.
					pc = *(char **)cnf_pars[pos].p;
data/f-irc-1.36/user.c:2471: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.
						*(char **)cnf_pars[pos].p = (char *)new_str;
data/f-irc-1.36/utf8.c:25: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(out -> string, in -> string, n_bytes);
data/f-irc-1.36/utf8.c:67:4:  [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(ub.utf8, out -> work_buffer, sizeof ub.utf8);
data/f-irc-1.36/utf8.c:125: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(&out -> string[out -> len], &in, sizeof in);
data/f-irc-1.36/utf8.c:178:4:  [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(&out[out_index], in -> string[loop].utf8, n);
data/f-irc-1.36/utf8.c:242: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(&work -> string[pos], &in, sizeof in);
data/f-irc-1.36/utf8.h:14: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 utf8[4];
data/f-irc-1.36/utf8.h:23: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 work_buffer[4];
data/f-irc-1.36/utils.c:231:20:  [2] (misc) fopen:
  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).
        FILE *fh = fopen(LF, "a+");
data/f-irc-1.36/utils.c:383:12:  [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).
		int fd = open("/dev/null", O_RDWR);
data/f-irc-1.36/ansi.c:41:12:  [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).
	int len = strlen(ansi);
data/f-irc-1.36/ansi.c:118:12:  [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).
	int len = strlen(string_in);
data/f-irc-1.36/autocomplete.c:82: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).
	int in_len = strlen(in);
data/f-irc-1.36/autocomplete.c:94: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).
				int cur_len = strlen(tab_completion[index].what);
data/f-irc-1.36/autocomplete.c:110: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).
				matching_str_len = strlen(matching_str);
data/f-irc-1.36/autocomplete.c:143: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).
	int in_len = strlen(in);
data/f-irc-1.36/autocomplete.c:176: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).
				int cur_len = strlen(compare_str);
data/f-irc-1.36/autocomplete.c:192: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).
				matching_str_len = strlen(matching_str);
data/f-irc-1.36/colors.c:245: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(&in[1]) != 9)
data/f-irc-1.36/config.c:439: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/f-irc-1.36/config.c:640: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).
				int len = strlen(SYSCONFDIR) + strlen(par) + 2;
data/f-irc-1.36/config.c:640: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).
				int len = strlen(SYSCONFDIR) + strlen(par) + 2;
data/f-irc-1.36/config.c:673: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).
				int len = strlen(SYSCONFDIR) + strlen(par) + 2;
data/f-irc-1.36/config.c:673: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).
				int len = strlen(SYSCONFDIR) + strlen(par) + 2;
data/f-irc-1.36/ctcp.c:23:12:  [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).
	int len = strlen(in), rc = 0;
data/f-irc-1.36/ctcp.c:168: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).
			if (userinfo && strlen(userinfo) > 0)
data/f-irc-1.36/ctcp.c:273:16:  [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).
			n_to_move = strlen(end_marker + 1) + 1;
data/f-irc-1.36/ctcp.c:282: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(out) == 0)
data/f-irc-1.36/dcc.c:85: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 (dcc_bind_to && strlen(dcc_bind_to))
data/f-irc-1.36/dcc.c:239: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).
		const char *dcc_path_exploded = (dcc_path && strlen(dcc_path)) ? (char *)explode_path(dcc_path) : NULL;
data/f-irc-1.36/dcc.c:310:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		rc = read(pnt -> fd_conn, io_buffer, BUFFER_SIZE);
data/f-irc-1.36/dcc.c:382:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	rc = read(pnt -> fd_file, io_buffer, BUFFER_SIZE);
data/f-irc-1.36/dictionary.c:29: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(buffer) == 0)
data/f-irc-1.36/error.c:50:2:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getchar();
data/f-irc-1.36/grep_filter.c:39: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).
	gp -> gf_list[gp -> n_gf_list].sserver = strlen(sserver) ? strdup(sserver) : NULL;
data/f-irc-1.36/grep_filter.c:40: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).
	gp -> gf_list[gp -> n_gf_list].schannel = strlen(schannel) ? strdup(schannel) : NULL;
data/f-irc-1.36/grep_filter.c:41: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).
	gp -> gf_list[gp -> n_gf_list].file = strlen(file) ? strdup(file) : NULL;
data/f-irc-1.36/ignores.c:107: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/f-irc-1.36/irc.c:176: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(prefix) == 0)
data/f-irc-1.36/irc.c:188: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 (parse_offset && strlen(parse_offset))
data/f-irc-1.36/irc.c:202: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 (parse_offset && strlen(parse_offset))
data/f-irc-1.36/irc.c:428:47:  [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).
		const char *new_nick = (pars_after_colon && strlen(pars_after_colon)) ? pars_after_colon : pars_before_colon;
data/f-irc-1.36/irc.c:470:30:  [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 (channels_str_before && strlen(channels_str_before))
data/f-irc-1.36/irc.c:476: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 (channels_str_after && strlen(channels_str_after))
data/f-irc-1.36/irc.c:749: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).
				for(; strlen(pnames) > 0;)
data/f-irc-1.36/loop.c:150: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).
	int nlen = strlen(needle);
data/f-irc-1.36/loop.c:192: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).
	int loop = 0, len = strlen(string), outer_loop = 0;
data/f-irc-1.36/loop.c:760:16:  [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).
		int ct_len = strlen(cur_topic);
data/f-irc-1.36/loop.c:976: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).
		int tooltip_len = strlen(tooltip);
data/f-irc-1.36/loop.c:1047:17:  [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 (log_dir && strlen(log_dir) > 0)
data/f-irc-1.36/main.c:513:17:  [1] (buffer) wcslen:
  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).
		int len = min(wcslen(part), input_window_width);
data/f-irc-1.36/nickcolor.c:19:12:  [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).
	int len = strlen(nick), loop = 0;
data/f-irc-1.36/scrollback.c:34: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(what) == 0)
data/f-irc-1.36/scrollback.c:68: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).
	if (!what || strlen(what) == 0)
data/f-irc-1.36/scrollback.c:133: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 (max_width > 0 && strlen(*out) > max_width)
data/f-irc-1.36/scrollback.c:214: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(what) == 0)
data/f-irc-1.36/scrollback.c:272:10:  [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).
	return (strlen(pbe -> msg) + width) / width;
data/f-irc-1.36/servers.c:547:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int n_read = read(ps -> fd, str_buffer, sizeof str_buffer);
data/f-irc-1.36/soundex.c:64: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).
	int loop = 0, len = strlen(haystackIn);
data/f-irc-1.36/soundex.c:86:53:  [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).
			int pos = (int)(found_at - haystack), word_len = strlen(word_in);
data/f-irc-1.36/string_array.c:108:18:  [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).
	int split_len = strlen(split);
data/f-irc-1.36/string_array.c:154:53:  [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).
        int imin = 0, imax = p -> n - 1, what_len = strlen(what);
data/f-irc-1.36/term.c:173: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).
	int loop = 0, cursor_x = 0, len = strlen(str);
data/f-irc-1.36/term.c:216:18:  [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).
	int loop, len = strlen(str);
data/f-irc-1.36/term.c:407:8:  [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).
	len = strlen(msg_use);
data/f-irc-1.36/theme.c:169: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/f-irc-1.36/user.c:51:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(100000);
data/f-irc-1.36/user.c:77: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).
		int cur_width = strlen(string_array_get(&lines, loop));
data/f-irc-1.36/user.c:115:18:  [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).
	int q_len = max(strlen(title), strlen(q));
data/f-irc-1.36/user.c:115: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).
	int q_len = max(strlen(title), strlen(q));
data/f-irc-1.36/user.c:210: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).
		int c = -1, l = strlen(line);
data/f-irc-1.36/user.c:234: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(dummy) >= width - 2)
data/f-irc-1.36/user.c:313:12:  [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).
			int l = strlen(line);
data/f-irc-1.36/user.c:338:12:  [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).
			int l = strlen(line);
data/f-irc-1.36/user.c:447: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 (channel_name && strlen(channel_name) > 0)
data/f-irc-1.36/user.c:541: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).
			int pars_len = strlen(pars);
data/f-irc-1.36/user.c:553:8:  [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(pars) == 0)
data/f-irc-1.36/user.c:735: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).
			if (parsc == NULL || strlen(parsc) == 0)
data/f-irc-1.36/user.c:748: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).
			if (parsc == NULL || strlen(parsc) == 0)
data/f-irc-1.36/user.c:775:16:  [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 (pars && strlen(pars) > 0)
data/f-irc-1.36/user.c:815: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).
				if (pars == NULL || strlen(pars) == 0)
data/f-irc-1.36/user.c:1400: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).
			int clen = strlen(string_array_get(p, use_index));
data/f-irc-1.36/user.c:1493: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).
			if (what != NULL && strlen(what) != 0)
data/f-irc-1.36/user.c:2034:18:  [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).
	int q_len = max(strlen(title), strlen(q));
data/f-irc-1.36/user.c:2034: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).
	int q_len = max(strlen(title), strlen(q));
data/f-irc-1.36/user.c:2286: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).
		int l = strlen(cnf_pars[cnt].name);
data/f-irc-1.36/utf8.c:104:18:  [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).
	const int len = strlen(in);
data/f-irc-1.36/utils.c:59:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		rc = read(fd, whereto, len);
data/f-irc-1.36/utils.c:167: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).
	int str_len_in = strlen(in);
data/f-irc-1.36/utils.c:168: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).
	int str_len_ww = strlen(with_what);
data/f-irc-1.36/utils.c:199:12:  [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).
	int len = strlen(str);
data/f-irc-1.36/wordcloud.c:61: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).
		int len = strlen(word), clean_loop = 0, out_index = 0;

ANALYSIS SUMMARY:

Hits = 165
Lines analyzed = 16216 in approximately 0.39 seconds (42008 lines/second)
Physical Source Lines of Code (SLOC) = 12537
Hits@level = [0] 111 [1]  82 [2]  73 [3]   6 [4]   4 [5]   0
Hits@level+ = [0+] 276 [1+] 165 [2+]  83 [3+]  10 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 22.0148 [1+] 13.161 [2+] 6.6204 [3+] 0.797639 [4+] 0.319056 [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.