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/easyh10-1.5/libh10db/bufferedfile.h
Examining data/easyh10-1.5/libh10db/bufferedfile.c
Examining data/easyh10-1.5/libh10db/crc.h
Examining data/easyh10-1.5/libh10db/crc.c
Examining data/easyh10-1.5/libh10db/h10db.c
Examining data/easyh10-1.5/libh10db/h10db_dat.c
Examining data/easyh10-1.5/libh10db/h10db_hdr.c
Examining data/easyh10-1.5/libh10db/h10db_idx.c
Examining data/easyh10-1.5/libh10db/h10db_upd.c
Examining data/easyh10-1.5/libh10db/h10db_model.c
Examining data/easyh10-1.5/libh10db/serialize.h
Examining data/easyh10-1.5/libh10db/serialize.c
Examining data/easyh10-1.5/include/h10db.h
Examining data/easyh10-1.5/include/ucs2char.h
Examining data/easyh10-1.5/include/getmediainfo.h
Examining data/easyh10-1.5/include/playlist.h
Examining data/easyh10-1.5/include/os.h
Examining data/easyh10-1.5/libucs2/ucs2char.c
Examining data/easyh10-1.5/libucs2/ucs2char_iconv.c
Examining data/easyh10-1.5/libgetmediainfo/getmediainfo.c
Examining data/easyh10-1.5/libgetmediainfo/gmi_mp3_id3tag.c
Examining data/easyh10-1.5/libgetmediainfo/gmi_wma.c
Examining data/easyh10-1.5/libgetmediainfo/gmi_wav.c
Examining data/easyh10-1.5/cui/main.c
Examining data/easyh10-1.5/cui/getopt.c
Examining data/easyh10-1.5/cui/getopt1.c
Examining data/easyh10-1.5/common/playlist.c
Examining data/easyh10-1.5/common/regex_playlist.h
Examining data/easyh10-1.5/common/regex_playlist_posix.c
Examining data/easyh10-1.5/common/easyh10.h
Examining data/easyh10-1.5/common/easyh10_database.c
Examining data/easyh10-1.5/common/easyh10_template.c
Examining data/easyh10-1.5/common/easyh10_playlist.c
Examining data/easyh10-1.5/common/filepathutil.h
Examining data/easyh10-1.5/common/filepathutil_posix.c
Examining data/easyh10-1.5/common/rel2abs.c
Examining data/easyh10-1.5/common/easyh10_dump.c
Examining data/easyh10-1.5/common/easyh10_tuner.c

FINAL RESULTS:

data/easyh10-1.5/common/easyh10_database.c:582:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(
data/easyh10-1.5/cui/main.c:603:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	  fprintf("iconv failed\n");
data/easyh10-1.5/cui/main.c:668:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(fpe, APPLICATION_S " " VERSION_S "  " COPYRIGHT_S "\n");
data/easyh10-1.5/include/os.h:28:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define	snprintf	_snprintf
data/easyh10-1.5/include/os.h:28:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define	snprintf	_snprintf
data/easyh10-1.5/libh10db/h10db_dat.c:45:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(fp, format, mbs);
data/easyh10-1.5/libh10db/h10db_dat.c:69:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(fp, format, asctime(gmtime(&timer)));
data/easyh10-1.5/libh10db/h10db_hdr.c:48:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(fp, format, mbs);
data/easyh10-1.5/libucs2/ucs2char_iconv.c:82:2:  [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(g_encoding, encoding);
data/easyh10-1.5/libucs2/ucs2char_iconv.c:83:2:  [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(g_encoding_music, encoding);
data/easyh10-1.5/common/easyh10_database.c:758:3:  [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((unsigned int)time(NULL));
data/easyh10-1.5/common/playlist.c:286: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((unsigned int)time(NULL));
data/easyh10-1.5/cui/getopt.c:206:9:  [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.
#ifndef getenv
data/easyh10-1.5/cui/getopt.c:207:14:  [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.
extern char *getenv ();
data/easyh10-1.5/cui/getopt.c:399:21:  [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.
  posixly_correct = getenv ("POSIXLY_CORRECT");
data/easyh10-1.5/cui/getopt.c:964:1:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt (argc, argv, optstring)
data/easyh10-1.5/cui/getopt.c:994:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt (argc, argv, "abc:d:0123456789");
data/easyh10-1.5/cui/getopt1.c:67:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (argc, argv, options, long_options, opt_index)
data/easyh10-1.5/cui/getopt1.c:123:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/easyh10-1.5/cui/main.c:721:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		int c = getopt_long(argc, argv, "CUo:z:PMrgfkxlI:E:at:T:Xs:d:m:p:e:w:bDVhv", long_options, &option_index);
data/easyh10-1.5/cui/main.c:723:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		int c = getopt_long(argc, argv, "CUo:z:PMrgfkxlI:E:at:T:Xs:d:m:p:bDVhv", long_options, &option_index);
data/easyh10-1.5/cui/main.c:890:26:  [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 *encoding = getenv("CHARSET");
data/easyh10-1.5/common/easyh10_database.c:556: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 type_message[80];
data/easyh10-1.5/common/easyh10_database.c:557: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 model_message[256];
data/easyh10-1.5/common/easyh10_database.c:569:4:  [2] (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). Risk is low because the source is a constant string.
			strcpy(type_message, "H10 (UMS)");
data/easyh10-1.5/common/easyh10_database.c:572:4:  [2] (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). Risk is low because the source is a constant string.
			strcpy(type_message, "H10 (MTP)");
data/easyh10-1.5/common/easyh10_database.c:575:4:  [2] (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). Risk is low because the source is a constant string.
			strcpy(type_message, "H10 (MTP2)");
data/easyh10-1.5/common/easyh10_database.c:578:4:  [2] (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). Risk is low because the source is a constant string.
			strcpy(type_message, "H10 (Unknown)");
data/easyh10-1.5/common/easyh10_tuner.c:135: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 line[1024], *begin = NULL;
data/easyh10-1.5/common/easyh10_tuner.c:163: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).
				tuner->region = atoi(begin + 9);
data/easyh10-1.5/common/easyh10_tuner.c:282:5:  [2] (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). Risk is low because the source is a constant string.
				strcpy(freq_integer, "000");
data/easyh10-1.5/common/easyh10_tuner.c:283:5:  [2] (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). Risk is low because the source is a constant string.
				strcpy(freq_fractional, "00");
data/easyh10-1.5/common/filepathutil_posix.c:45: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 mbs[MAX_PATH+1];
data/easyh10-1.5/common/filepathutil_posix.c:290: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];
data/easyh10-1.5/common/playlist.c:83: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 line[MAX_PATH * 8];
data/easyh10-1.5/common/playlist.c:116: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 line[MAX_PATH * 8];
data/easyh10-1.5/common/playlist.c:179: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 line[MAX_PATH * 8];
data/easyh10-1.5/common/regex_playlist_posix.c:101: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 line[MAX_PATH * 8];
data/easyh10-1.5/cui/main.c:168: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 mbs[MAX_PATH+1];
data/easyh10-1.5/cui/main.c:231: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 mbs[MAX_PATH+1];
data/easyh10-1.5/cui/main.c:374: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 mbs[MAX_PATH+1];
data/easyh10-1.5/cui/main.c:941:4:  [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 pwd[MAX_PATH+1];
data/easyh10-1.5/libgetmediainfo/getmediainfo.c:62: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 tracknumber[32];
data/easyh10-1.5/libgetmediainfo/getmediainfo.c:255: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 ordinalnumber[32];
data/easyh10-1.5/libgetmediainfo/gmi_wav.c:78: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[1024];
data/easyh10-1.5/libgetmediainfo/gmi_wav.c:122:17:  [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).
			info->year = atoi(buffer);
data/easyh10-1.5/libgetmediainfo/gmi_wav.c:125: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).
			info->tracknumer = atoi(buffer);
data/easyh10-1.5/libgetmediainfo/gmi_wma.c:38:18:  [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.
typedef unsigned char guid_t[16];
data/easyh10-1.5/libh10db/bufferedfile.c:227: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(buffer, bfp->buffer + bfp->buffer_pos, size);
data/easyh10-1.5/libh10db/bufferedfile.c:243: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(bfp->buffer + bfp->buffer_pos, buffer, size);
data/easyh10-1.5/libh10db/h10db_dat.c:95: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(&tmp, x, sizeof(*x));
data/easyh10-1.5/libh10db/h10db_dat.c:96: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(x, y, sizeof(*y));
data/easyh10-1.5/libh10db/h10db_dat.c:97: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(y, &tmp, sizeof(tmp));
data/easyh10-1.5/libh10db/h10db_idx.c:48: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(&tmp, x, sizeof(*x));
data/easyh10-1.5/libh10db/h10db_idx.c:49: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(x, y, sizeof(*y));
data/easyh10-1.5/libh10db/h10db_idx.c:50: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(y, &tmp, sizeof(tmp));
data/easyh10-1.5/libh10db/h10db_model.c:46: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 magic[4];
data/easyh10-1.5/libucs2/ucs2char_iconv.c:50:8:  [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 g_encoding[128];
data/easyh10-1.5/libucs2/ucs2char_iconv.c:51:8:  [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 g_encoding_music[128];
data/easyh10-1.5/libucs2/ucs2char_iconv.c:52:8:  [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 g_ucs2encoding[128];
data/easyh10-1.5/libucs2/ucs2char_iconv.c:150: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).
	ret = atoi(mbs);
data/easyh10-1.5/libucs2/ucs2char_iconv.c:157: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 buff[1024];
data/easyh10-1.5/libucs2/ucs2char_iconv.c:158: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(buff, "%d", value);
data/easyh10-1.5/libucs2/ucs2char_iconv.c:174:4:  [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[1024];
data/easyh10-1.5/libucs2/ucs2char_iconv.c:251:8:  [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).
		fp = fopen(mbs_filename, mode);
data/easyh10-1.5/libucs2/ucs2char_iconv.c:316:9:  [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).
		ret = open(mbs_path, 0);
data/easyh10-1.5/common/easyh10_tuner.c:182: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).
				utf8toucs2(tuner->stations[i].name, 10, p, strlen(p));
data/easyh10-1.5/common/filepathutil_posix.c:61: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).
			mbstoucs2(filename, MAX_PATH, entp->d_name, strlen(entp->d_name)+1);
data/easyh10-1.5/common/filepathutil_posix.c:84:49:  [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).
				mbstoucs2(filename, MAX_PATH, entp->d_name, strlen(entp->d_name)+1);
data/easyh10-1.5/common/playlist.c:99:5:  [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).
				strlen(line)+1
data/easyh10-1.5/common/playlist.c:129: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).
				if (strlen((char *)p) > 3) {
data/easyh10-1.5/common/playlist.c:141:5:  [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).
				strlen((char *)p)+1
data/easyh10-1.5/common/playlist.c:209: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).
						strlen(p)+1
data/easyh10-1.5/common/regex_playlist_posix.c:117: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).
				if (strlen((char *)p) > 3) {
data/easyh10-1.5/common/regex_playlist_posix.c:131: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(p) < 3) {
data/easyh10-1.5/cui/getopt.c:229:51:  [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 (!defined __STDC__ || !__STDC__) && !defined strlen
data/easyh10-1.5/cui/getopt.c:232: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).
extern int strlen (const char *);
data/easyh10-1.5/cui/getopt.c:430: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).
	      int len = nonoption_flags_max_len = strlen (orig_str);
data/easyh10-1.5/cui/getopt.c:651: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).
		== (unsigned int) strlen (p->name))
data/easyh10-1.5/cui/getopt.c:675: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).
	  nextchar += strlen (nextchar);
data/easyh10-1.5/cui/getopt.c:707: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).
		  nextchar += strlen (nextchar);
data/easyh10-1.5/cui/getopt.c:723: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).
		  nextchar += strlen (nextchar);
data/easyh10-1.5/cui/getopt.c:728: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).
	  nextchar += strlen (nextchar);
data/easyh10-1.5/cui/getopt.c:839:51:  [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 ((unsigned int) (nameend - nextchar) == strlen (p->name))
data/easyh10-1.5/cui/getopt.c:862: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).
	    nextchar += strlen (nextchar);
data/easyh10-1.5/cui/getopt.c:882: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).
		    nextchar += strlen (nextchar);
data/easyh10-1.5/cui/getopt.c:896: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).
		    nextchar += strlen (nextchar);
data/easyh10-1.5/cui/getopt.c:900: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).
	    nextchar += strlen (nextchar);
data/easyh10-1.5/cui/main.c:812: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).
			mbstoucs2(tuner_preset_import, MAX_PATH, optarg, strlen(optarg));
data/easyh10-1.5/cui/main.c:817: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).
			mbstoucs2(tuner_preset_export, MAX_PATH, optarg, strlen(optarg));
data/easyh10-1.5/cui/main.c:836: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).
			mbstoucs2(path_to_system, MAX_PATH, optarg, strlen(optarg)+1);
data/easyh10-1.5/cui/main.c:839: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).
			mbstoucs2(path_to_db, MAX_PATH, optarg, strlen(optarg)+1);
data/easyh10-1.5/cui/main.c:842: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).
			mbstoucs2(path_to_music, MAX_PATH, optarg, strlen(optarg)+1);
data/easyh10-1.5/cui/main.c:845: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).
			mbstoucs2(path_to_playlist, MAX_PATH, optarg, strlen(optarg)+1);
data/easyh10-1.5/cui/main.c:929: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).
		size_t length = strlen(argv[optind]);
data/easyh10-1.5/cui/main.c:931:52:  [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).
			mbstoucs2(path_to_root, MAX_PATH, argv[optind], strlen(argv[optind])+1);
data/easyh10-1.5/cui/main.c:943: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).
			mbstoucs2(path_to_root, MAX_PATH, pwd, strlen(pwd)+1);
data/easyh10-1.5/libucs2/ucs2char.c:292: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).
	size_t ucs2_size = 	mbstoucs2(NULL, 0, mbstr, strlen(mbstr)) + 1;
data/easyh10-1.5/libucs2/ucs2char.c:295:58:  [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).
		mbstoucs2(dst, ucs2_size * sizeof(ucs2_char_t), mbstr, strlen(mbstr)+1);
data/easyh10-1.5/libucs2/ucs2char.c:302: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).
	size_t ucs2_size = 	mbstoucs2_music(NULL, 0, mbstr, strlen(mbstr)) + 1;
data/easyh10-1.5/libucs2/ucs2char.c:305:64:  [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).
		mbstoucs2_music(dst, ucs2_size * sizeof(ucs2_char_t), mbstr, strlen(mbstr)+1);
data/easyh10-1.5/libucs2/ucs2char.c:312:51:  [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).
	size_t ucs2_size = 	utf8toucs2(NULL, 0, utf8str, strlen(utf8str)) + 1;
data/easyh10-1.5/libucs2/ucs2char.c:315:61:  [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).
		utf8toucs2(dst, ucs2_size * sizeof(ucs2_char_t), utf8str, strlen(utf8str)+1);
data/easyh10-1.5/libucs2/ucs2char_iconv.c:88:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(g_encoding, encoding, sizeof(g_encoding));
data/easyh10-1.5/libucs2/ucs2char_iconv.c:89:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(g_ucs2encoding, get_ucs2encoding(), sizeof(g_ucs2encoding));
data/easyh10-1.5/libucs2/ucs2char_iconv.c:95:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(g_encoding_music, encoding, sizeof(g_encoding_music));
data/easyh10-1.5/libucs2/ucs2char_iconv.c:96:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(g_ucs2encoding, get_ucs2encoding(), sizeof(g_ucs2encoding));

ANALYSIS SUMMARY:

Hits = 107
Lines analyzed = 12674 in approximately 0.36 seconds (34956 lines/second)
Physical Source Lines of Code (SLOC) = 9050
Hits@level = [0] 311 [1]  41 [2]  44 [3]  12 [4]  10 [5]   0
Hits@level+ = [0+] 418 [1+] 107 [2+]  66 [3+]  22 [4+]  10 [5+]   0
Hits/KSLOC@level+ = [0+] 46.1878 [1+] 11.8232 [2+] 7.29282 [3+] 2.43094 [4+] 1.10497 [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.