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/libhdate-1.6.02/src/hdate_sun_time.c
Examining data/libhdate-1.6.02/src/support.h
Examining data/libhdate-1.6.02/src/hdatepp.h
Examining data/libhdate-1.6.02/src/hdate_parasha.c
Examining data/libhdate-1.6.02/src/hdate_holyday.c
Examining data/libhdate-1.6.02/src/hdate_julian.c
Examining data/libhdate-1.6.02/src/hdate.h
Examining data/libhdate-1.6.02/src/deprecated.c
Examining data/libhdate-1.6.02/src/hdate_strings.c
Examining data/libhdate-1.6.02/examples/hcal/hdate.c
Examining data/libhdate-1.6.02/examples/hcal/hcal.c
Examining data/libhdate-1.6.02/examples/hcal/local_functions.c
Examining data/libhdate-1.6.02/examples/bindings/hdate_cpp.cpp
Examining data/libhdate-1.6.02/examples/bindings/hdate_c.c

FINAL RESULTS:

data/libhdate-1.6.02/src/hdate_strings.c:542:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
						strncat (return_string, digits[0][n / 1000], H_CHAR_WIDTH);
data/libhdate-1.6.02/src/hdate_strings.c:547:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
						strncat (return_string, digits[2][4], H_CHAR_WIDTH);
data/libhdate-1.6.02/src/hdate_strings.c:552:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
						strncat (return_string, digits[2][n / 100], H_CHAR_WIDTH);
data/libhdate-1.6.02/src/hdate_strings.c:559:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
						strncat (return_string, digits[1][n / 10], H_CHAR_WIDTH);
data/libhdate-1.6.02/src/hdate_strings.c:563:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
						strncat (return_string, digits[0][n], H_CHAR_WIDTH);
data/libhdate-1.6.02/src/hdate_strings.c:569:46:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
						if (return_string_len <= H_CHAR_WIDTH) strncat (return_string, "'", H_CHAR_WIDTH);
data/libhdate-1.6.02/examples/hcal/hcal.c:483:26:  [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.
	case ELEMENT_WEEKDAY_G: printf(CODE_LIGHT_GREY); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:484:26:  [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.
	case ELEMENT_WEEKDAY_H: printf(CODE_LIGHT_BROWN); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:485:24:  [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.
	case ELEMENT_MONTH_G: printf(CODE_LIGHT_GREY); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:486:24:  [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.
	case ELEMENT_MONTH_H: printf(CODE_LIGHT_BROWN); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:487:30:  [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.
	case ELEMENT_WEEKDAY_NAMES: printf(CODE_LIGHT_GREEN); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:488:29:  [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.
	case ELEMENT_SHABBAT_NAME: printf(CODE_LIGHT_AQUA); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:489:28:  [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.
	case ELEMENT_SHABBAT_DAY: printf(CODE_LIGHT_AQUA); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:490:28:  [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.
	case ELEMENT_HOLIDAY_DAY: printf(CODE_LIGHT_AQUA); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:491:30:  [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.
	case ELEMENT_SHABBAT_TIMES: printf(CODE_LIGHT_PURPLE); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:492:24:  [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.
	case ELEMENT_PARASHA: printf(CODE_LIGHT_GREEN); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:493:35:  [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.
	case ELEMENT_THIS_SHABBAT_TIMES: printf(CODE_LIGHT_GREEN); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:494:29:  [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.
	case ELEMENT_THIS_PARASHA: printf(CODE_LIGHT_GREEN); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:495:29:  [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.
	case ELEMENT_HOLIDAY_NAME: printf(CODE_LIGHT_GREY); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:496:34:  [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.
	case ELEMENT_TODAY_HOLIDAY_DAY: printf(CODE_LIGHT_GREEN); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:497:35:  [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.
	case ELEMENT_TODAY_HOLIDAY_NAME: printf(CODE_LIGHT_GREEN); break;
data/libhdate-1.6.02/examples/hcal/hcal.c:544:16:  [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.
	if (colorize) printf(CODE_RESTORE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:667:16:  [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.
	if (colorize) printf(CODE_RESTORE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:708:16:  [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.
	if (colorize) printf(CODE_RESTORE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:893:5:  [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 (CODE_REVERSE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:914: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 (CODE_RESTORE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:927:5:  [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 (CODE_REVERSE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:958: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 (CODE_RESTORE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:1069:22:  [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.
			if (opt.colorize) printf (CODE_RESTORE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:1089:22:  [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.
			if (opt.colorize) printf (CODE_RESTORE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:1146:23:  [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.
				if (opt.colorize) printf (CODE_RESTORE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:1365:23:  [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.
				if (opt.colorize) printf (CODE_RESTORE_VIDEO);
data/libhdate-1.6.02/examples/hcal/hcal.c:1824:15:  [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.
 	while ((c = getopt_long(argc, argv,
data/libhdate-1.6.02/examples/hcal/hdate.c:1829:15:  [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.
 	while ((c = getopt_long(argc, argv,
data/libhdate-1.6.02/examples/hcal/local_functions.c:730: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.
	config_home_path_name = getenv("XDG_CONFIG_HOME");
data/libhdate-1.6.02/examples/hcal/local_functions.c:733:27:  [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.
		config_home_path_name = getenv("HOME");
data/libhdate-1.6.02/src/hdate_strings.c:46:13:  [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.
	language = getenv ("LANGUAGE");
data/libhdate-1.6.02/examples/hcal/hcal.c:1133:6:  [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(shabbat_name_buffer, shabbat_name_str, shabbat_name_str_len);
data/libhdate-1.6.02/examples/hcal/hcal.c:1348:6:  [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(holiday_buffer, holiday_str, holiday_str_len);
data/libhdate-1.6.02/examples/hcal/hcal.c:1518:6:  [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(opt->menu_item[menu_item], input_value,menu_len);
data/libhdate-1.6.02/examples/hcal/hcal.c:1527: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).
					opt->candles = atoi(input_value);
data/libhdate-1.6.02/examples/hcal/hcal.c:1538: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).
					opt->havdalah = atoi(input_value);
data/libhdate-1.6.02/examples/hcal/hcal.c:1623: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).
					opt->candles = atoi(optarg);
data/libhdate-1.6.02/examples/hcal/hcal.c:1637: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).
					opt->havdalah = atoi(optarg);
data/libhdate-1.6.02/examples/hcal/hcal.c:1938: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).
			month = atoi (argv[optind]);
data/libhdate-1.6.02/examples/hcal/hcal.c:1939: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).
			year = atoi (argv[optind + 1]);
data/libhdate-1.6.02/examples/hcal/hcal.c:1944: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).
			year = atoi (argv[optind]);
data/libhdate-1.6.02/examples/hcal/hdate.c:1503: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).
					opt->candles = atoi(input_value);
data/libhdate-1.6.02/examples/hcal/hdate.c:1514: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).
					opt->havdalah = atoi(input_value); 
data/libhdate-1.6.02/examples/hcal/hdate.c:1525:6:  [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(opt->menu_item[menu_item], input_value,menu_len);
data/libhdate-1.6.02/examples/hcal/hdate.c:1613: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).
					opt->candles = atoi(optarg);
data/libhdate-1.6.02/examples/hcal/hdate.c:1628: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).
					opt->havdalah = atoi(optarg);
data/libhdate-1.6.02/examples/hcal/hdate.c:1925:10:  [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).
		year = atoi (argv[optind]);
data/libhdate-1.6.02/examples/hcal/hdate.c:1998:10:  [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).
		year = atoi (argv[optind + 1]);
data/libhdate-1.6.02/examples/hcal/hdate.c:1999: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).
		month = atoi (argv[optind]);
data/libhdate-1.6.02/examples/hcal/hdate.c:2094:10:  [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).
		year = atoi (argv[optind + 2]);
data/libhdate-1.6.02/examples/hcal/hdate.c:2095: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).
		month = atoi (argv[optind + 1]);
data/libhdate-1.6.02/examples/hcal/hdate.c:2096: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).
		day = atoi (argv[optind]);
data/libhdate-1.6.02/examples/hcal/local_functions.c:276: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(source, temp_buff, source_len);
data/libhdate-1.6.02/examples/hcal/local_functions.c:455: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).
				*tz = atoi( strtok( input_string, ":'\"")) * 60;
data/libhdate-1.6.02/examples/hcal/local_functions.c:456: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).
				fractional_part = atoi( strtok( NULL, ":'\""));
data/libhdate-1.6.02/examples/hcal/local_functions.c:655:18:  [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).
		*config_file = fopen(config_file_path, "a");
data/libhdate-1.6.02/examples/hcal/local_functions.c:676:18:  [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).
		*config_file = fopen(config_file_path, "r");
data/libhdate-1.6.02/src/hdate_strings.c:168: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 version[500];
data/libhdate-1.6.02/src/hdate_strings.c:238: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 *digits[3][10] = {
data/libhdate-1.6.02/src/hdate_strings.c:244: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 *days[2][2][7] = {
data/libhdate-1.6.02/src/hdate_strings.c:261: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 *parashaot[2][2][62] = {
data/libhdate-1.6.02/src/hdate_strings.c:360: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 *hebrew_months[2][2][14] = {
data/libhdate-1.6.02/src/hdate_strings.c:382: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 *gregorian_months[2][12] = {
data/libhdate-1.6.02/src/hdate_strings.c:392: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 *holidays[2][2][37] = {
data/libhdate-1.6.02/examples/hcal/hcal.c:569: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).
	g_month_len = strlen(g_month);
data/libhdate-1.6.02/examples/hcal/hcal.c:586: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).
	h1_month_len = strlen(h1_month);
data/libhdate-1.6.02/examples/hcal/hcal.c:587: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).
	h1_year_len = strlen(h1_year);
data/libhdate-1.6.02/examples/hcal/hcal.c:597: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).
		h2_month_len = strlen(h2_month);
data/libhdate-1.6.02/examples/hcal/hcal.c:598: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).
		h2_year_len = strlen(h2_year);
data/libhdate-1.6.02/examples/hcal/hcal.c:621: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).
		h2_month_len = strlen(h2_month);
data/libhdate-1.6.02/examples/hcal/hcal.c:942: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).
			hd_day_buffer_str_len = (size_t) strlen(hd_day_str);
data/libhdate-1.6.02/examples/hcal/hcal.c:1131: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).
					shabbat_name_str_len = strlen(shabbat_name_str);
data/libhdate-1.6.02/examples/hcal/hcal.c:1346: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).
					holiday_str_len = strlen(holiday_str);
data/libhdate-1.6.02/examples/hcal/hcal.c:1516: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).
					menu_len = strlen(input_value);
data/libhdate-1.6.02/examples/hcal/hcal.c:1848: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).
			menu_len = strlen( menuptr );
data/libhdate-1.6.02/examples/hcal/hdate.c:1523: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).
					menu_len = strlen(input_value);
data/libhdate-1.6.02/examples/hcal/hdate.c:1852: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).
			menu_len = strlen( menuptr );
data/libhdate-1.6.02/examples/hcal/local_functions.c:681: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).
			*path_len = strlen(config_home_path_name)
data/libhdate-1.6.02/examples/hcal/local_functions.c:682: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).
						+ strlen(config_sub_path_name)
data/libhdate-1.6.02/examples/hcal/local_functions.c:683: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).
						+ strlen(config_dir_name) +1;
data/libhdate-1.6.02/examples/hcal/local_functions.c:744: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).
	path_len = strlen(config_home_path_name) + strlen(config_sub_path_name)
data/libhdate-1.6.02/examples/hcal/local_functions.c:744:45:  [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).
	path_len = strlen(config_home_path_name) + strlen(config_sub_path_name)
data/libhdate-1.6.02/examples/hcal/local_functions.c:745: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(config_dir_name) + strlen(config_file_name) + 1;
data/libhdate-1.6.02/examples/hcal/local_functions.c:745: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).
				+ strlen(config_dir_name) + strlen(config_file_name) + 1;
data/libhdate-1.6.02/examples/hcal/local_functions.c:931:6:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	i = getchar() - 48; // effectively converts valid values to integers
data/libhdate-1.6.02/src/hdate_strings.c:568: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).
						return_string_len = strlen (return_string);

ANALYSIS SUMMARY:

Hits = 92
Lines analyzed = 8893 in approximately 0.44 seconds (20361 lines/second)
Physical Source Lines of Code (SLOC) = 5033
Hits@level = [0] 140 [1]  22 [2]  33 [3]   5 [4]  26 [5]   6
Hits@level+ = [0+] 232 [1+]  92 [2+]  70 [3+]  37 [4+]  32 [5+]   6
Hits/KSLOC@level+ = [0+] 46.0958 [1+] 18.2794 [2+] 13.9082 [3+] 7.35148 [4+] 6.35804 [5+] 1.19213
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.