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/neko-2.3.0/libs/common/sha1.c
Examining data/neko-2.3.0/libs/common/sha1.h
Examining data/neko-2.3.0/libs/common/socket.c
Examining data/neko-2.3.0/libs/common/socket.h
Examining data/neko-2.3.0/libs/mod_neko/cgi.c
Examining data/neko-2.3.0/libs/mod_neko/mod_neko.c
Examining data/neko-2.3.0/libs/mod_neko/mod_neko.h
Examining data/neko-2.3.0/libs/mod_tora/mod_tora.c
Examining data/neko-2.3.0/libs/mod_tora/protocol.c
Examining data/neko-2.3.0/libs/mod_tora/protocol.h
Examining data/neko-2.3.0/libs/mysql/my_proto/my_api.c
Examining data/neko-2.3.0/libs/mysql/my_proto/my_proto.c
Examining data/neko-2.3.0/libs/mysql/my_proto/my_proto.h
Examining data/neko-2.3.0/libs/mysql/my_proto/mysql.h
Examining data/neko-2.3.0/libs/mysql/mysql.c
Examining data/neko-2.3.0/libs/regexp/regexp.c
Examining data/neko-2.3.0/libs/sqlite/sqlite.c
Examining data/neko-2.3.0/libs/ssl/ssl.c
Examining data/neko-2.3.0/libs/ssl/threading_alt.h
Examining data/neko-2.3.0/libs/std/buffer.c
Examining data/neko-2.3.0/libs/std/date.c
Examining data/neko-2.3.0/libs/std/elf_update.c
Examining data/neko-2.3.0/libs/std/file.c
Examining data/neko-2.3.0/libs/std/init.c
Examining data/neko-2.3.0/libs/std/int32.c
Examining data/neko-2.3.0/libs/std/math.c
Examining data/neko-2.3.0/libs/std/md5.c
Examining data/neko-2.3.0/libs/std/memory.c
Examining data/neko-2.3.0/libs/std/misc.c
Examining data/neko-2.3.0/libs/std/module.c
Examining data/neko-2.3.0/libs/std/process.c
Examining data/neko-2.3.0/libs/std/random.c
Examining data/neko-2.3.0/libs/std/serialize.c
Examining data/neko-2.3.0/libs/std/socket.c
Examining data/neko-2.3.0/libs/std/string.c
Examining data/neko-2.3.0/libs/std/sys.c
Examining data/neko-2.3.0/libs/std/thread.c
Examining data/neko-2.3.0/libs/std/unicase.c
Examining data/neko-2.3.0/libs/std/unicode.c
Examining data/neko-2.3.0/libs/std/utf8.c
Examining data/neko-2.3.0/libs/std/xml.c
Examining data/neko-2.3.0/libs/ui/ui.c
Examining data/neko-2.3.0/libs/zlib/zlib.c
Examining data/neko-2.3.0/vm/alloc.c
Examining data/neko-2.3.0/vm/builtins.c
Examining data/neko-2.3.0/vm/callback.c
Examining data/neko-2.3.0/vm/elf.c
Examining data/neko-2.3.0/vm/hash.c
Examining data/neko-2.3.0/vm/interp.c
Examining data/neko-2.3.0/vm/jit_x86.c
Examining data/neko-2.3.0/vm/load.c
Examining data/neko-2.3.0/vm/main.c
Examining data/neko-2.3.0/vm/module.c
Examining data/neko-2.3.0/vm/neko_elf.h
Examining data/neko-2.3.0/vm/neko_mod.h
Examining data/neko-2.3.0/vm/neko_vm.h
Examining data/neko-2.3.0/vm/objtable.c
Examining data/neko-2.3.0/vm/objtable.h
Examining data/neko-2.3.0/vm/opcodes.h
Examining data/neko-2.3.0/vm/others.c
Examining data/neko-2.3.0/vm/stats.c
Examining data/neko-2.3.0/vm/threads.c
Examining data/neko-2.3.0/vm/vm.h

FINAL RESULTS:

data/neko-2.3.0/libs/std/sys.c:581:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	int length = readlink("/proc/self/exe", path, sizeof(path));
data/neko-2.3.0/vm/main.c:97:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	int length = readlink("/proc/self/exe", path, sizeof(path));
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:38:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(m->last_error,err,param);
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:43:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(m->last_error,err,param);
data/neko-2.3.0/libs/std/process.c:239:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execvp(argv[0],argv);
data/neko-2.3.0/libs/std/sys.c:210:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#error Unknow system string
data/neko-2.3.0/libs/std/sys.c:237:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	return alloc_int( system(val_string(cmd)) );
data/neko-2.3.0/libs/std/sys.c:239:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	int status = system(val_string(cmd));
data/neko-2.3.0/vm/alloc.c:113:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(msg,arg);
data/neko-2.3.0/vm/load.c:255:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf,"%s__MULT",pos);
data/neko-2.3.0/vm/load.c:257:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf,"%s__%d",pos,nargs);
data/neko-2.3.0/vm/main.c:322:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(buf,"%d\t%d\t%d\t%s%c",
data/neko-2.3.0/vm/others.c:80:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		return scmp(tmp_buf,sprintf(tmp_buf,FLOAT_FMT,val_float(a)),val_string(b),val_strlen(b));
data/neko-2.3.0/vm/others.c:86:51:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		return scmp(val_string(a),val_strlen(a),tmp_buf,sprintf(tmp_buf,FLOAT_FMT,val_float(b)));
data/neko-2.3.0/vm/others.c:256:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		buffer_append_sub(b,buf,sprintf(buf,FLOAT_FMT,val_float(v)));
data/neko-2.3.0/libs/ssl/ssl.c:746:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection( &mutex->cs );
data/neko-2.3.0/libs/ssl/ssl.c:761:2:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	EnterCriticalSection( &mutex->cs );
data/neko-2.3.0/libs/std/process.c:122:19:  [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* cmdexe = getenv("COMSPEC");
data/neko-2.3.0/libs/std/process.c:192:8:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
		if( !CreateProcess(NULL,val_string(sargs),NULL,NULL,TRUE,0,NULL,NULL,&sinf,&p->pinf) )			
data/neko-2.3.0/libs/std/process.c:192:8:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
		if( !CreateProcess(NULL,val_string(sargs),NULL,NULL,TRUE,0,NULL,NULL,&sinf,&p->pinf) )			
data/neko-2.3.0/libs/std/sys.c:77:6:  [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.
	s = getenv(val_string(v));
data/neko-2.3.0/libs/std/sys.c:548:14:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	char *buf = realpath(val_string(path), NULL);
data/neko-2.3.0/libs/std/sys.c:557:6:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	if( realpath(val_string(path),buf) == NULL )
data/neko-2.3.0/libs/std/sys.c:583: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.
		char *p = getenv("   "); // for upx
data/neko-2.3.0/libs/std/sys.c:585:8:  [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.
			p = getenv("_");
data/neko-2.3.0/libs/std/sys.c:593:18:  [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 *p = getenv("_");
data/neko-2.3.0/libs/std/thread.c:76:19:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
#	define LOCK(l)		EnterCriticalSection(&(l))
data/neko-2.3.0/libs/std/thread.c:91:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(&q->lock);
data/neko-2.3.0/vm/load.c:134:30:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
#	define dlopen(l,p)		(void*)LoadLibrary(l)
data/neko-2.3.0/vm/load.c:416:34:  [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.
	alloc_field(o,id_path,init_path(getenv("NEKOPATH")));
data/neko-2.3.0/vm/main.c:99: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.
		char *p = getenv("   "); // for upx
data/neko-2.3.0/vm/main.c:101:8:  [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.
			p = getenv("_");
data/neko-2.3.0/vm/main.c:107: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.
	return getenv("_");
data/neko-2.3.0/vm/threads.c:305:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(&l->cs);
data/neko-2.3.0/vm/threads.c:321:2:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	EnterCriticalSection(&l->cs);
data/neko-2.3.0/libs/common/sha1.c:45:61:  [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 void sha1_transform( unsigned int state[5], unsigned char buffer[64] ) {
data/neko-2.3.0/libs/common/sha1.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(block, buffer, 64);
data/neko-2.3.0/libs/common/sha1.c:100: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(&context->buffer[j], data, (i = 64-j));
data/neko-2.3.0/libs/common/sha1.c:107: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(&context->buffer[j], &data[i], len - i);
data/neko-2.3.0/libs/common/sha1.c:110:46:  [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.
void sha1_final( SHA1_CTX *context, unsigned char digest[SHA1_SIZE] ) {
data/neko-2.3.0/libs/common/sha1.c:112:11:  [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.
	unsigned char finalcount[8];
data/neko-2.3.0/libs/common/sha1.h:27: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 SHA1_DIGEST[SHA1_SIZE];
data/neko-2.3.0/libs/common/sha1.h:32:11:  [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.
	unsigned char buffer[64];
data/neko-2.3.0/libs/common/socket.c:127: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 buf[1024];
data/neko-2.3.0/libs/mod_neko/cgi.c:269: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 buf[256];
data/neko-2.3.0/libs/mod_neko/cgi.c:306: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(val_string(boundstr)+2,boundary,len);
data/neko-2.3.0/libs/mod_neko/mod_neko.c:215: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 buf[MAXLEN];
data/neko-2.3.0/libs/mod_neko/mod_neko.c:409: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).
	value = atoi(args);
data/neko-2.3.0/libs/mod_tora/mod_tora.c:139: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(ct,value,len+1);
data/neko-2.3.0/libs/mod_tora/mod_tora.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 buf[1024];
data/neko-2.3.0/libs/mod_tora/mod_tora.c:321: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).
	value = atoi(args);
data/neko-2.3.0/libs/mod_tora/protocol.c:140:11:  [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.
	unsigned char h[4];
data/neko-2.3.0/libs/mod_tora/protocol.c:199: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 tmp[DEFAULT_SIZE];
data/neko-2.3.0/libs/mod_tora/protocol.c:309: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(boundstr+2,boundary,len);
data/neko-2.3.0/libs/mod_tora/protocol.c:395:11:  [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.
	unsigned char header[4];
data/neko-2.3.0/libs/mod_tora/protocol.c:449:44:  [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).
			p->inf.do_set_return_code(p->inf.custom,atoi(buf));
data/neko-2.3.0/libs/mod_tora/protocol.c:453: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).
				int tmpsize = atoi(buf);
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:33: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(p2,param,max-3);
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:105: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 scramble_buf[21];
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:136: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 filler[13];
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:171: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 filler[23];
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:196:6:  [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 hpass[SEED_LENGTH_323 + 1];
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:233:5:  [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 hpass[SEED_LENGTH_323 + 1];
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:341: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(rows,r->rows,r->row_count * sizeof(MYSQL_ROW_DATA));
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:419: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.
		static char tmp[512];
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:420:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(tmp,"#%d",m->infos.server_charset);
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:56: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(buf,p->buf + p->pos,size);
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:122: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(str,p->buf + p->pos, size);
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:197: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(buf2,p->buf,p->size);
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:201: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->buf + p->size , data, size );
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:310:34:  [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.
void myp_encrypt_pass_323( const char *password, const char seed[SEED_LENGTH_323], char to[SEED_LENGTH_323] ) {
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:310:56:  [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.
void myp_encrypt_pass_323( const char *password, const char seed[SEED_LENGTH_323], char to[SEED_LENGTH_323] ) {
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:310:84:  [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.
void myp_encrypt_pass_323( const char *password, const char seed[SEED_LENGTH_323], char to[SEED_LENGTH_323] ) {
data/neko-2.3.0/libs/mysql/my_proto/my_proto.h: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 last_error[MAX_ERR_SIZE];
data/neko-2.3.0/libs/mysql/my_proto/my_proto.h:175:34:  [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.
void myp_encrypt_pass_323( const char *pass, const char seed[SEED_LENGTH_323], char out[SEED_LENGTH_323] );
data/neko-2.3.0/libs/mysql/my_proto/my_proto.h:175:52:  [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.
void myp_encrypt_pass_323( const char *pass, const char seed[SEED_LENGTH_323], char out[SEED_LENGTH_323] );
data/neko-2.3.0/libs/mysql/my_proto/my_proto.h:175:80:  [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.
void myp_encrypt_pass_323( const char *pass, const char seed[SEED_LENGTH_323], char out[SEED_LENGTH_323] );
data/neko-2.3.0/libs/mysql/mysql.c:175: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).
					v = alloc_best_int(atoi(row[i]));
data/neko-2.3.0/libs/mysql/mysql.c:274: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).
	return alloc_int( s?atoi(s):0 );
data/neko-2.3.0/libs/regexp/regexp.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((char*)val_string(str),val_string(d->str)+start,len);
data/neko-2.3.0/libs/sqlite/sqlite.c:246: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(val_string(f),sqlite3_column_blob(r->r,i),size);
data/neko-2.3.0/libs/ssl/ssl.c:74: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 buf[256];
data/neko-2.3.0/libs/ssl/ssl.c:255:11:  [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.
	unsigned char buf[256];
data/neko-2.3.0/libs/ssl/ssl.c:589: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(buf, val_string(data), len-1);
data/neko-2.3.0/libs/ssl/ssl.c:647: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(buf, val_string(data), len-1);
data/neko-2.3.0/libs/ssl/ssl.c:692:11:  [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.
	unsigned char hash[32];
data/neko-2.3.0/libs/ssl/ssl.c:720:11:  [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.
	unsigned char hash[32];
data/neko-2.3.0/libs/std/date.c:127: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 buf[128];
data/neko-2.3.0/libs/std/date.c:147: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 buf[128];
data/neko-2.3.0/libs/std/elf_update.c:32: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 buf[size_Shdr], *file;
data/neko-2.3.0/libs/std/elf_update.c:48: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).
	exe = fopen(file,"r+b");
data/neko-2.3.0/libs/std/file.c:66:10:  [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).
	f->io = fopen(val_string(name),val_string(r));
data/neko-2.3.0/libs/std/file.c:265: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).
	f.io = fopen(val_string(name),"rb");
data/neko-2.3.0/libs/std/md5.c:209:9:  [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( (void *) (ctx->buffer + left),
data/neko-2.3.0/libs/std/md5.c:224:9:  [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( (void *) (ctx->buffer + left),
data/neko-2.3.0/libs/std/module.c:54: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(buf,val_string(vbuf),len);
data/neko-2.3.0/libs/std/module.c:118:6:  [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).
	f = fopen(val_string(fname),"rb");
data/neko-2.3.0/libs/std/process.c:408: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 msg[30];
data/neko-2.3.0/libs/std/process.c:409:4:  [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(msg, "process killed by signal %d", WTERMSIG(rval));
data/neko-2.3.0/libs/std/random.c:74: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(r->seeds,init_seeds,sizeof(init_seeds));
data/neko-2.3.0/libs/std/serialize.c:91: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(b->cur + b->pos,s,len);
data/neko-2.3.0/libs/std/serialize.c:94: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(b->cur + b->pos,s,left);
data/neko-2.3.0/libs/std/serialize.c:103: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(s,b->cur + b->pos, len);
data/neko-2.3.0/libs/std/serialize.c:115: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(&n,b->cur + b->pos,4);
data/neko-2.3.0/libs/std/serialize.c:164: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(ntrefs,b->trefs,b->tsize * sizeof(value));
data/neko-2.3.0/libs/std/serialize.c:341: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(s,b.cur,b.pos);
data/neko-2.3.0/libs/std/serialize.c:344: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(s,l->str,l->slen);
data/neko-2.3.0/libs/std/socket.c:346: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 buf[256];
data/neko-2.3.0/libs/std/socket.c:378: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 buf[1024];
data/neko-2.3.0/libs/std/socket.c:414: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 buf[1024];
data/neko-2.3.0/libs/std/socket.c:427: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 buf[256];
data/neko-2.3.0/libs/std/socket.c:801: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->outr,p->fdr,FDSIZE(p->fdr->fd_count));
data/neko-2.3.0/libs/std/socket.c:802: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->outw,p->fdw,FDSIZE(p->fdw->fd_count));
data/neko-2.3.0/libs/std/string.c:153:7:  [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 tmp[10];
data/neko-2.3.0/libs/std/sys.c:160: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 buf[256];
data/neko-2.3.0/libs/std/sys.c:541: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 buf[MAX_PATH+1];
data/neko-2.3.0/libs/std/sys.c:555: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 buf[PATH_MAX];
data/neko-2.3.0/libs/std/sys.c:569: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 path[MAX_PATH];
data/neko-2.3.0/libs/std/sys.c:574: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 path[PATH_MAX+1];
data/neko-2.3.0/libs/std/sys.c:580: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 path[PATH_MAX];
data/neko-2.3.0/libs/std/sys.c:624: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(val_string(key),*e,(int)(x - *e));
data/neko-2.3.0/libs/std/unicode.c:364: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(val_string(s),val_string(b->buf),len);
data/neko-2.3.0/libs/std/unicode.c:597: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(val_string(str),start,l);
data/neko-2.3.0/libs/std/unicode.c:778: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(val_string(v2), val_string(*str), *len);
data/neko-2.3.0/libs/std/utf8.c:73: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(val_string(s),val_string(b->buf),len);
data/neko-2.3.0/libs/std/utf8.c:295: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(val_string(str),save,l);
data/neko-2.3.0/vm/alloc.c:339: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(c,str,strlen);
data/neko-2.3.0/vm/builtins.c:414: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.
			unsigned char bytes[8];
data/neko-2.3.0/vm/builtins.c:448: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.
			unsigned char bytes[8];
data/neko-2.3.0/vm/builtins.c:830: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(val_array_ptr(env),args,nargs * sizeof(f));
data/neko-2.3.0/vm/callback.c:53: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(&oldjmp,&vm->start,sizeof(jmp_buf));
data/neko-2.3.0/vm/callback.c:59: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(&vm->start,&oldjmp,sizeof(jmp_buf));
data/neko-2.3.0/vm/callback.c:105: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(&vm->start,&oldjmp,sizeof(jmp_buf));	
data/neko-2.3.0/vm/callback.c:130: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(&vm->start,&oldjmp,sizeof(jmp_buf));	
data/neko-2.3.0/vm/elf.c:68: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 hdr[size_Ehdr];
data/neko-2.3.0/vm/elf.c:109: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 buf[size_Ehdr];
data/neko-2.3.0/vm/elf.c:132: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 buf[size_Shdr];
data/neko-2.3.0/vm/elf.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 buf[size_Shdr];
data/neko-2.3.0/vm/elf.c:162: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).
	exe = fopen(file,"rb");
data/neko-2.3.0/vm/interp.c:1163: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(&old,&vm->start,sizeof(jmp_buf));
data/neko-2.3.0/vm/interp.c:1170: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(&vm->start,&old,sizeof(jmp_buf));
data/neko-2.3.0/vm/interp.c:1215: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(&vm->start,&old,sizeof(jmp_buf));
data/neko-2.3.0/vm/jit_x86.c:522: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 *call_normal_jit[NARGS];
data/neko-2.3.0/vm/jit_x86.c:523: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 *call_this_jit[NARGS];
data/neko-2.3.0/vm/jit_x86.c:524: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 *call_tail_jit[NARGS];
data/neko-2.3.0/vm/jit_x86.c:525: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 *call_normal_prim[NARGS];
data/neko-2.3.0/vm/jit_x86.c:526: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 *call_this_prim[NARGS];
data/neko-2.3.0/vm/jit_x86.c:527: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 *call_tail_prim[NARGS];
data/neko-2.3.0/vm/jit_x86.c:528: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 *call_normal_fun[NARGS];
data/neko-2.3.0/vm/jit_x86.c:529: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 *call_this_fun[NARGS];
data/neko-2.3.0/vm/jit_x86.c:530: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 *call_tail_fun[NARGS];
data/neko-2.3.0/vm/jit_x86.c:531: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 *make_env[MAX_ENV];
data/neko-2.3.0/vm/jit_x86.c:2543: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(buf,ctx->baseptr,size); \
data/neko-2.3.0/vm/jit_x86.c:2663: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(buf2,ctx->baseptr,curpos);
data/neko-2.3.0/vm/jit_x86.c:2732: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(rbuf,ctx->baseptr,csize);
data/neko-2.3.0/vm/load.c:177:6:  [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).
	f = fopen(val_string(fname),"rb");
data/neko-2.3.0/vm/load.c:242: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(l->name,prim,len);
data/neko-2.3.0/vm/load.c:251: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 buf[100];
data/neko-2.3.0/vm/load.c:270: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 exe_path[MAX_PATH];
data/neko-2.3.0/vm/main.c:74: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 path[MAX_PATH];
data/neko-2.3.0/vm/main.c:79: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 path[MAXPATHLEN+1];
data/neko-2.3.0/vm/main.c:90: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 path[MAXPATHLEN];
data/neko-2.3.0/vm/main.c:96: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 path[PATH_MAX];
data/neko-2.3.0/vm/main.c:113:11:  [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.
	unsigned char id[8];
data/neko-2.3.0/vm/main.c:129: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).
	self = fopen(exe,"rb");
data/neko-2.3.0/vm/main.c:319:5:  [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 buf[256];
data/neko-2.3.0/vm/main.c:329:6:  [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(buf+strlen(buf),"ERRORS=%d\n",errors);
data/neko-2.3.0/vm/module.c:56:11:  [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.
	unsigned char c[4];
data/neko-2.3.0/vm/module.c:64:11:  [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.
	unsigned char c[2];
data/neko-2.3.0/vm/module.c:215: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(val_array_ptr(a2),val_array_ptr(*arr),len * sizeof(value));
data/neko-2.3.0/vm/module.c:323: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(val_array_ptr(m->dbgtbl),val_array_ptr(positions),pos_index * sizeof(value));
data/neko-2.3.0/vm/module.c:611: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(buf,sp->p,delta);
data/neko-2.3.0/vm/objtable.c:86: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(c, t->cells, mid * objcell_size);
data/neko-2.3.0/vm/objtable.c:89: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(&c[mid + 1], &t->cells[mid], (t->count - mid) * objcell_size);
data/neko-2.3.0/vm/objtable.c:98: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(target->cells,t->cells,size);
data/neko-2.3.0/vm/others.c:55: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 tmp_buf[32];
data/neko-2.3.0/vm/others.c:70:23:  [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.
		return scmp(tmp_buf,sprintf(tmp_buf,"%d",val_int(a)),val_string(b),val_strlen(b));
data/neko-2.3.0/vm/others.c:72:23:  [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.
		return scmp(tmp_buf,sprintf(tmp_buf,"%d",val_int32(a)),val_string(b),val_strlen(b));
data/neko-2.3.0/vm/others.c:82:51:  [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.
		return scmp(val_string(a),val_strlen(a),tmp_buf,sprintf(tmp_buf,"%d",val_int(b)));
data/neko-2.3.0/vm/others.c:84:51:  [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.
		return scmp(val_string(a),val_strlen(a),tmp_buf,sprintf(tmp_buf,"%d",val_int32(b)));
data/neko-2.3.0/vm/others.c:145: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(it->str,s,len);
data/neko-2.3.0/vm/others.c:162: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(it->str + it->len,s,len);
data/neko-2.3.0/vm/others.c:166: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(it->str + it->len,s,free);
data/neko-2.3.0/vm/others.c:199: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(s,it->str,it->len);
data/neko-2.3.0/vm/others.c:238: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 buf[32];
data/neko-2.3.0/vm/others.c:250:27:  [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.
		buffer_append_sub(b,buf,sprintf(buf,"%d",val_int(v)));
data/neko-2.3.0/vm/others.c:268:27:  [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.
		buffer_append_sub(b,buf,sprintf(buf,"#function:%d",val_fun_nargs(v)));
data/neko-2.3.0/vm/others.c:309:27:  [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.
		buffer_append_sub(b,buf,sprintf(buf,"%d",val_int32(v)));
data/neko-2.3.0/vm/others.c:332:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	len2 = sprintf(vm->tmp,"%d",x);
data/neko-2.3.0/vm/others.c:335: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((char*)val_string(v),val_string(str),len);
data/neko-2.3.0/vm/others.c:336: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((char*)val_string(v)+len,vm->tmp,len2+1);
data/neko-2.3.0/vm/others.c:338: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((char*)val_string(v),vm->tmp,len2);
data/neko-2.3.0/vm/others.c:339: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((char*)val_string(v)+len2,val_string(str),len+1);
data/neko-2.3.0/vm/others.c:348: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((char*)val_string(v),val_string(s1),len1);
data/neko-2.3.0/vm/others.c:349: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((char*)val_string(v)+len1,val_string(s2),len2+1);
data/neko-2.3.0/vm/others.c:368: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(nsp,vm->spmin,sizeof(int_val) * i);
data/neko-2.3.0/vm/others.c:373: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(nsp+size-i,sp,sizeof(int_val) * i);
data/neko-2.3.0/vm/others.c:424: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(c2, c, mid * objcell_size);
data/neko-2.3.0/vm/others.c:427: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(&c2[mid + 1], &c[mid], (t->count - mid) * objcell_size);
data/neko-2.3.0/vm/threads.c:74: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.
typedef char __stack_base[64];
data/neko-2.3.0/vm/threads.c:104: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 buf[256];
data/neko-2.3.0/vm/vm.h:57: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 tmp[100];
data/neko-2.3.0/libs/mod_neko/cgi.c:241: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).
	int len = (int)strlen(v);
data/neko-2.3.0/libs/mod_neko/cgi.c:434: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).
			val_array_ptr(tmp)[1] = url_decode(aeq+1,(int)strlen(aeq+1));
data/neko-2.3.0/libs/mod_neko/mod_neko.c:110:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if( size == -1 ) size = (int)strlen(data);
data/neko-2.3.0/libs/mod_tora/mod_tora.c:137: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 len = (int)strlen(value);
data/neko-2.3.0/libs/mod_tora/mod_tora.c:155: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).
		do_print(c,msg,(int)strlen(msg));
data/neko-2.3.0/libs/mod_tora/mod_tora.c:244:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				char *xend = (char*)xff + strlen(xff) - 1;
data/neko-2.3.0/libs/mod_tora/protocol.c:150:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	proto_send_size(p,code,str,(int)strlen(str));
data/neko-2.3.0/libs/mod_tora/protocol.c:233: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).
			proto_send_decode(p,CODE_PARAM_VALUE,aeq+1,(int)strlen(aeq+1));
data/neko-2.3.0/libs/mod_tora/protocol.c:245: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).
	int len = (int)strlen(v);
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:30: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).
		unsigned int max = MAX_ERR_SIZE - (strlen(err) + 3);
data/neko-2.3.0/libs/mysql/my_proto/my_api.c:31: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(param) > max ) {
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:108: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).
	p->pos += strlen(str) + 1;
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:220: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).
	myp_write(p,str,strlen(str) + 1);
data/neko-2.3.0/libs/mysql/my_proto/my_proto.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).
	myp_write(p,str,strlen(str));
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:259: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).
	sha1_update(&ctx,pass,strlen(pass));;
data/neko-2.3.0/libs/mysql/my_proto/my_proto.c:315: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).
	hash_password(hash_pass,password,(unsigned int)strlen(password));
data/neko-2.3.0/libs/std/process.c:289:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nbytes = read(p->oread,val_string(str)+val_int(pos),val_int(len));
data/neko-2.3.0/libs/std/process.c:320:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nbytes = read(p->eread,val_string(str)+val_int(pos),val_int(len));
data/neko-2.3.0/libs/std/socket.c:97:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	value read;
data/neko-2.3.0/libs/std/socket.c:1079:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		val_array_ptr(ep->read)[ep->rcount++] = s;
data/neko-2.3.0/libs/std/socket.c:1113:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (val_array_ptr(ep->read)[i] == s) {
data/neko-2.3.0/libs/std/socket.c:1115:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				val_array_ptr(ep->read)[j] = val_array_ptr(ep->read)[j-1];
data/neko-2.3.0/libs/std/socket.c:1115:52:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				val_array_ptr(ep->read)[j] = val_array_ptr(ep->read)[j-1];
data/neko-2.3.0/libs/std/socket.c:1117:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			val_array_ptr(ep->read)[--ep->rcount] = NULL;
data/neko-2.3.0/libs/std/socket.c:1157:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ra = ep->rcount == 0 ? NULL : make_socket_array(ep->read, ep->rcount, &rx, &n);
data/neko-2.3.0/libs/std/socket.c:1170:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			value s = val_array_ptr(ep->read)[i];
data/neko-2.3.0/libs/std/sys.c:164: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).
	l = (int)strlen(buf);
data/neko-2.3.0/libs/std/sys.c:657:6:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = getchar();
data/neko-2.3.0/libs/std/xml.c:67: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 l = (int)strlen(p);
data/neko-2.3.0/vm/alloc.c:189: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).
	return copy_string(str,strlen(str));
data/neko-2.3.0/vm/alloc.c:336: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).
EXTERN value copy_string( const char *str, int_val strlen ) {
data/neko-2.3.0/vm/alloc.c:337: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).
	value v = alloc_empty_string((unsigned int)strlen);
data/neko-2.3.0/vm/alloc.c:339: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).
	memcpy(c,str,strlen);
data/neko-2.3.0/vm/elf.c:140:60:  [1] (buffer) strlen:
  Does not handle 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 ( shname < strsize && !strncmp(&strbuf[shname], name, strlen(name)) ) {
data/neko-2.3.0/vm/load.c:208: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).
	len = (int)strlen(prim) + 1;
data/neko-2.3.0/vm/load.c:252: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(pos) > 90 )
data/neko-2.3.0/vm/load.c:305:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if( (p && p[-1] != '/' && p[-1] != '\\') || (!p && path[strlen(path)-1] != '/' && path[strlen(path)-1] != '\\') ) {
data/neko-2.3.0/vm/load.c:305:90:  [1] (buffer) strlen:
  Does not handle 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( (p && p[-1] != '/' && p[-1] != '\\') || (!p && path[strlen(path)-1] != '/' && path[strlen(path)-1] != '\\') ) {
data/neko-2.3.0/vm/main.c:329: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).
					sprintf(buf+strlen(buf),"ERRORS=%d\n",errors);
data/neko-2.3.0/vm/others.c:178: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).
	buffer_append_sub(b,s,strlen(s));
data/neko-2.3.0/vm/stats.c:80: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 ksize = (int)strlen(kind);

ANALYSIS SUMMARY:

Hits = 243
Lines analyzed = 24932 in approximately 0.71 seconds (35331 lines/second)
Physical Source Lines of Code (SLOC) = 19387
Hits@level = [0]  49 [1]  41 [2] 167 [3]  20 [4]  13 [5]   2
Hits@level+ = [0+] 292 [1+] 243 [2+] 202 [3+]  35 [4+]  15 [5+]   2
Hits/KSLOC@level+ = [0+] 15.0616 [1+] 12.5342 [2+] 10.4194 [3+] 1.80533 [4+] 0.773714 [5+] 0.103162
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.