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/orafce-3.13.4/aggregate.c
Examining data/orafce-3.13.4/alert.c
Examining data/orafce-3.13.4/assert.c
Examining data/orafce-3.13.4/assert.h
Examining data/orafce-3.13.4/builtins.h
Examining data/orafce-3.13.4/charlen.c
Examining data/orafce-3.13.4/charpad.c
Examining data/orafce-3.13.4/convert.c
Examining data/orafce-3.13.4/datefce.c
Examining data/orafce-3.13.4/file.c
Examining data/orafce-3.13.4/magic.c
Examining data/orafce-3.13.4/nvarchar2.c
Examining data/orafce-3.13.4/orafce.c
Examining data/orafce-3.13.4/orafce.h
Examining data/orafce-3.13.4/others.c
Examining data/orafce-3.13.4/parse_keyword.c
Examining data/orafce-3.13.4/parse_keyword.h
Examining data/orafce-3.13.4/pipe.c
Examining data/orafce-3.13.4/pipe.h
Examining data/orafce-3.13.4/plunit.c
Examining data/orafce-3.13.4/plvdate.c
Examining data/orafce-3.13.4/plvlex.c
Examining data/orafce-3.13.4/plvlex.h
Examining data/orafce-3.13.4/plvstr.c
Examining data/orafce-3.13.4/plvsubst.c
Examining data/orafce-3.13.4/putline.c
Examining data/orafce-3.13.4/random.c
Examining data/orafce-3.13.4/replace_empty_string.c
Examining data/orafce-3.13.4/shmmc.c
Examining data/orafce-3.13.4/shmmc.h
Examining data/orafce-3.13.4/sqlparse.c
Examining data/orafce-3.13.4/sqlparse.h
Examining data/orafce-3.13.4/sqlscan.c
Examining data/orafce-3.13.4/utility.c
Examining data/orafce-3.13.4/varchar2.c

FINAL RESULTS:

data/orafce-3.13.4/file.c:917:3:  [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(fullname, location);
data/orafce-3.13.4/sqlparse.c:769:21:  [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.
#  define YYFPRINTF fprintf
data/orafce-3.13.4/sqlscan.c:939:8:  [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.
#undef fprintf
data/orafce-3.13.4/sqlscan.c:940:9:  [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.
#define fprintf(file, fmt, msg)  fprintf_to_ereport(fmt, msg)
data/orafce-3.13.4/file.c:1174: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 *tmpdir = getenv("TMPDIR");
data/orafce-3.13.4/random.c:85: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(seed);
data/orafce-3.13.4/random.c:135: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(seed);
data/orafce-3.13.4/random.c:154: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((int) seed);
data/orafce-3.13.4/alert.c:644: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[3] = {NULL, NULL, "1"};
data/orafce-3.13.4/alert.c:707: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[2] = {NULL,"1"};
data/orafce-3.13.4/alert.c:871: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 nulls[1] = {' '};
data/orafce-3.13.4/alert.c:943: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 nulls[2] = {' ',' '};
data/orafce-3.13.4/charpad.c:198: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(ptr_ret, spc, hslen);
data/orafce-3.13.4/charpad.c:216: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(ptr_ret, ptr2, mlen);
data/orafce-3.13.4/charpad.c:245: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(ptr_ret, ptr1, mlen);
data/orafce-3.13.4/charpad.c:434: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(ptr_ret, ptr1, mlen);
data/orafce-3.13.4/charpad.c:458: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(ptr_ret, ptr2, mlen);
data/orafce-3.13.4/charpad.c:479: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(ptr_ret, spc, hslen);
data/orafce-3.13.4/convert.c:188: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.
static const char *
data/orafce-3.13.4/convert.c:292: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.
static const char *
data/orafce-3.13.4/convert.c:540: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(d, u, clen);
data/orafce-3.13.4/datefce.c:20: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.
	const char *names[7];
data/orafce-3.13.4/file.c:274: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).
	file = fopen(fullname, mode);
data/orafce-3.13.4/file.c:363: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(VARDATA(result), decoded, len);
data/orafce-3.13.4/file.c:789: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	nulls[1] = {' '};
data/orafce-3.13.4/file.c:847: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	nulls[1] = {' '};
data/orafce-3.13.4/file.c:919: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(fullname + aux_pos + 1, VARDATA(filename), aux_len);
data/orafce-3.13.4/file.c:932: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(fullname, VARDATA(location_or_dirname), aux_pos);
data/orafce-3.13.4/file.c:934: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(fullname + aux_pos + 1, VARDATA(filename), aux_len);
data/orafce-3.13.4/file.c:1179: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		tmpdir[MAXPGPATH];
data/orafce-3.13.4/others.c:69: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(VARDATA(result), VARDATA_ANY(t1), l1);
data/orafce-3.13.4/others.c:70: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(VARDATA(result) + l1, VARDATA_ANY(t2), l2);
data/orafce-3.13.4/others.c:123: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(def_locale, arg, VARSIZE(arg));
data/orafce-3.13.4/others.c:168: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(string_str, VARDATA_ANY(string), string_len);
data/orafce-3.13.4/others.c:185: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(locale_str, VARDATA_ANY(locale), locale_len);
data/orafce-3.13.4/pipe.c:187: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(message_data_get_content(message), ptr, size);
data/orafce-3.13.4/pipe.c:488:5:  [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(result, shm_msg, shm_msg->size);
data/orafce-3.13.4/pipe.c:529: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(sh_ptr,ptr,ptr->size);
data/orafce-3.13.4/pipe.c:1086: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	   *values[DB_PIPES_COLS];
data/orafce-3.13.4/pipe.c:1087: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		items[16];
data/orafce-3.13.4/pipe.c:1088: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		size[16];
data/orafce-3.13.4/pipe.c:1089: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		limit[16];
data/orafce-3.13.4/plvdate.c:822: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(holidays, defaults_ci[country_id].holidays, holidays_c*sizeof(holiday_desc));
data/orafce-3.13.4/plvlex.c:52:5:  [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(__result, VARDATA(txt), __len), \
data/orafce-3.13.4/plvlex.c:256: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 *back_vals[6];
data/orafce-3.13.4/plvstr.c:386: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(VARDATA(result), aux, l);
data/orafce-3.13.4/plvstr.c:1129: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(VARDATA(result), VARDATA_ANY(str1), l1);
data/orafce-3.13.4/plvstr.c:1130: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(VARDATA(result) + l1, VARDATA_ANY(str2), l2);
data/orafce-3.13.4/plvstr.c:1150: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(VARDATA(result), VARDATA_ANY(str1), l1);
data/orafce-3.13.4/plvstr.c:1151: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(VARDATA(result) + l1, VARDATA_ANY(str2), l2);
data/orafce-3.13.4/plvstr.c:1152: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(VARDATA(result) + l1+l2, VARDATA_ANY(str3), l3);
data/orafce-3.13.4/putline.c:64: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 + buffer_len, str, len);
data/orafce-3.13.4/shmmc.c:74: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(result, str, len + 1);
data/orafce-3.13.4/shmmc.c:95: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(result, VARDATA_ANY(str), len);
data/orafce-3.13.4/shmmc.c:133:5:  [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(&list[target], &list[src], sizeof(list_item));
data/orafce-3.13.4/shmmc.c:308: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(result, ptr, aux_s);
data/orafce-3.13.4/sqlparse.c:1062: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/orafce-3.13.4/sqlparse.c:1275: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 yymsgbuf[128];
data/orafce-3.13.4/sqlscan.c:3233: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(scanbuf, str, slen);
data/orafce-3.13.4/sqlscan.c:3268: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(literalbuf+literallen, ytext, yleng);
data/orafce-3.13.4/sqlscan.c:3301: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(new, literalbuf, literallen+1);
data/orafce-3.13.4/varchar2.c:250: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(ptr, VARDATA_ANY(arg1), len1);
data/orafce-3.13.4/varchar2.c:252: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(ptr + len1, VARDATA_ANY(arg2), len2);
data/orafce-3.13.4/assert.c:93: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).
				memmove(endp, endp + 1, strlen(endp));
data/orafce-3.13.4/convert.c:134: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(nls_date_format && strlen(nls_date_format) > 0)
data/orafce-3.13.4/datefce.c:45:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t	n = strlen(weekdays->names[i]);
data/orafce-3.13.4/datefce.c:126: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(array[i]) == max &&
data/orafce-3.13.4/datefce.c:586: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(nls_date_format && strlen(nls_date_format))
data/orafce-3.13.4/file.c:331:38:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (csize < max_linesize && (c = fgetc(f)) != EOF)
data/orafce-3.13.4/file.c:337:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			c = fgetc(f);
data/orafce-3.13.4/file.c:361:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = (decoded == buffer ? csize : strlen(decoded));
data/orafce-3.13.4/file.c:509: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).
	*length = (src == encoded ? VARSIZE_ANY_EXHDR(t) : strlen(encoded));
data/orafce-3.13.4/file.c:913: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).
		int		aux_pos = size2int(strlen(location));
data/orafce-3.13.4/file.c:1095: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).
			len = strlen(buffer);
data/orafce-3.13.4/file.c:1107: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).
			len = strlen(buffer);
data/orafce-3.13.4/nvarchar2.c:82: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).
	result = nvarchar2_input(s, strlen(s), atttypmod);
data/orafce-3.13.4/pipe.c:361: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).
			&& (strlen(pipes[i].pipe_name) == (VARSIZE(pipe_name) - VARHDRSZ)))
data/orafce-3.13.4/random.c:214: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).
			chrset_size = strlen(alpha_mixed);
data/orafce-3.13.4/random.c:219: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).
			chrset_size = strlen(lower_only);
data/orafce-3.13.4/random.c:224: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).
			chrset_size = strlen(upper_only);
data/orafce-3.13.4/random.c:229: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).
			chrset_size = strlen(upper_alphanum);
data/orafce-3.13.4/random.c:234: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).
			chrset_size = strlen(printable);
data/orafce-3.13.4/shmmc.c:72: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(str);
data/orafce-3.13.4/sqlparse.c:960: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).
#   define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
data/orafce-3.13.4/sqlscan.c:1250:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
data/orafce-3.13.4/sqlscan.c:2899: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).
	return yy_scan_bytes( yystr, (int) strlen(yystr) );
data/orafce-3.13.4/sqlscan.c:3220:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	Size	slen = strlen(str);
data/orafce-3.13.4/utility.c:103: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).
					p1 += strlen("function \"");
data/orafce-3.13.4/utility.c:114: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).
					p1 += strlen("function ");
data/orafce-3.13.4/utility.c:135: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).
					p1 += strlen("line ");
data/orafce-3.13.4/varchar2.c:77: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).
	result = varchar2_input(s, strlen(s), atttypmod);

ANALYSIS SUMMARY:

Hits = 91
Lines analyzed = 18153 in approximately 0.41 seconds (44504 lines/second)
Physical Source Lines of Code (SLOC) = 12167
Hits@level = [0]  11 [1]  28 [2]  55 [3]   4 [4]   4 [5]   0
Hits@level+ = [0+] 102 [1+]  91 [2+]  63 [3+]   8 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 8.38333 [1+] 7.47925 [2+] 5.17794 [3+] 0.657516 [4+] 0.328758 [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.