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/libvisual-0.4.0/libvisual/lv_video.c
Examining data/libvisual-0.4.0/libvisual/lv_video.h
Examining data/libvisual-0.4.0/libvisual/lv_utils.c
Examining data/libvisual-0.4.0/libvisual/lv_utils.h
Examining data/libvisual-0.4.0/libvisual/lv_param.c
Examining data/libvisual-0.4.0/libvisual/lv_param.h
Examining data/libvisual-0.4.0/libvisual/lv_palette.c
Examining data/libvisual-0.4.0/libvisual/lv_palette.h
Examining data/libvisual-0.4.0/libvisual/lv_audio.c
Examining data/libvisual-0.4.0/libvisual/lv_audio.h
Examining data/libvisual-0.4.0/libvisual/lv_fourier.c
Examining data/libvisual-0.4.0/libvisual/lv_fourier.h
Examining data/libvisual-0.4.0/libvisual/lv_cache.c
Examining data/libvisual-0.4.0/libvisual/lv_cache.h
Examining data/libvisual-0.4.0/libvisual/lv_keysym.h
Examining data/libvisual-0.4.0/libvisual/lv_plugin.h
Examining data/libvisual-0.4.0/libvisual/lv_input.c
Examining data/libvisual-0.4.0/libvisual/lv_input.h
Examining data/libvisual-0.4.0/libvisual/lv_collection.c
Examining data/libvisual-0.4.0/libvisual/lv_collection.h
Examining data/libvisual-0.4.0/libvisual/lv_transform.c
Examining data/libvisual-0.4.0/libvisual/lv_transform.h
Examining data/libvisual-0.4.0/libvisual/lv_hashlist.c
Examining data/libvisual-0.4.0/libvisual/lv_hashlist.h
Examining data/libvisual-0.4.0/libvisual/lv_ringbuffer.c
Examining data/libvisual-0.4.0/libvisual/lv_ringbuffer.h
Examining data/libvisual-0.4.0/libvisual/lv_color.c
Examining data/libvisual-0.4.0/libvisual/lv_color.h
Examining data/libvisual-0.4.0/libvisual/lv_libvisual.c
Examining data/libvisual-0.4.0/libvisual/lv_libvisual.h
Examining data/libvisual-0.4.0/libvisual/lv_bits.h
Examining data/libvisual-0.4.0/libvisual/lv_gl.c
Examining data/libvisual-0.4.0/libvisual/lv_gl.h
Examining data/libvisual-0.4.0/libvisual/lv_os.c
Examining data/libvisual-0.4.0/libvisual/lv_os.h
Examining data/libvisual-0.4.0/libvisual/lv_ui.c
Examining data/libvisual-0.4.0/libvisual/lv_ui.h
Examining data/libvisual-0.4.0/libvisual/lv_hashmap.c
Examining data/libvisual-0.4.0/libvisual/lv_hashmap.h
Examining data/libvisual-0.4.0/libvisual/lv_list.c
Examining data/libvisual-0.4.0/libvisual/lv_list.h
Examining data/libvisual-0.4.0/libvisual/lv_math.h
Examining data/libvisual-0.4.0/libvisual/lvconfig.h
Examining data/libvisual-0.4.0/libvisual/gettext.h
Examining data/libvisual-0.4.0/libvisual/lv_time.c
Examining data/libvisual-0.4.0/libvisual/lv_time.h
Examining data/libvisual-0.4.0/libvisual/lv_common.h
Examining data/libvisual-0.4.0/libvisual/lv_config.c
Examining data/libvisual-0.4.0/libvisual/lv_config.h
Examining data/libvisual-0.4.0/libvisual/lv_bin.c
Examining data/libvisual-0.4.0/libvisual/lv_bin.h
Examining data/libvisual-0.4.0/libvisual/lv_bmp.h
Examining data/libvisual-0.4.0/libvisual/lv_cpu.h
Examining data/libvisual-0.4.0/libvisual/lv_random.c
Examining data/libvisual-0.4.0/libvisual/lv_random.h
Examining data/libvisual-0.4.0/libvisual/lv_log.c
Examining data/libvisual-0.4.0/libvisual/lv_log.h
Examining data/libvisual-0.4.0/libvisual/lv_mem.c
Examining data/libvisual-0.4.0/libvisual/lv_mem.h
Examining data/libvisual-0.4.0/libvisual/lv_event.c
Examining data/libvisual-0.4.0/libvisual/lv_event.h
Examining data/libvisual-0.4.0/libvisual/lv_rectangle.c
Examining data/libvisual-0.4.0/libvisual/lv_rectangle.h
Examining data/libvisual-0.4.0/libvisual/lv_songinfo.c
Examining data/libvisual-0.4.0/libvisual/lv_songinfo.h
Examining data/libvisual-0.4.0/libvisual/lv_morph.c
Examining data/libvisual-0.4.0/libvisual/lv_morph.h
Examining data/libvisual-0.4.0/libvisual/libvisual.h
Examining data/libvisual-0.4.0/libvisual/lv_buffer.c
Examining data/libvisual-0.4.0/libvisual/lv_buffer.h
Examining data/libvisual-0.4.0/libvisual/lv_video_simd.c
Examining data/libvisual-0.4.0/libvisual/lv_object.c
Examining data/libvisual-0.4.0/libvisual/lv_object.h
Examining data/libvisual-0.4.0/libvisual/lv_actor.c
Examining data/libvisual-0.4.0/libvisual/lv_actor.h
Examining data/libvisual-0.4.0/libvisual/lv_thread.c
Examining data/libvisual-0.4.0/libvisual/lv_thread.h
Examining data/libvisual-0.4.0/libvisual/lv_types.h
Examining data/libvisual-0.4.0/libvisual/lv_cpu.c
Examining data/libvisual-0.4.0/libvisual/lv_defines.h
Examining data/libvisual-0.4.0/libvisual/lv_plugin.c
Examining data/libvisual-0.4.0/libvisual/lv_error.h
Examining data/libvisual-0.4.0/libvisual/lv_math.c
Examining data/libvisual-0.4.0/libvisual/lv_bmp.c
Examining data/libvisual-0.4.0/libvisual/lv_error.c
Examining data/libvisual-0.4.0/debian/tests/test.cpp

FINAL RESULTS:

data/libvisual-0.4.0/libvisual/lv_bits.h:48:21:  [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 determining system endianess.
data/libvisual-0.4.0/libvisual/lv_log.c:189:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf (str, 1023, fmt, va);
data/libvisual-0.4.0/libvisual/lv_log.h:133:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf (str, 1023, fmt, va);
data/libvisual-0.4.0/libvisual/lv_log.h:216:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf (str, 1023, fmt, va);
data/libvisual-0.4.0/libvisual/lv_plugin.c:1108: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 (ndomain, domain);
data/libvisual-0.4.0/libvisual/lv_libvisual.c:341:12:  [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.
	homedir = getenv ("HOME");
data/libvisual-0.4.0/libvisual/lv_plugin.c:338:18:  [3] (random) random:
  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.
	return &plugin->random;
data/libvisual-0.4.0/libvisual/lv_plugin.c:716:11:  [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.
	handle = LoadLibrary (ref->file);
data/libvisual-0.4.0/libvisual/lv_plugin.c:776:43:  [3] (random) random:
  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.
	visual_random_context_set_seed (&plugin->random, time_.tv_usec);
data/libvisual-0.4.0/libvisual/lv_plugin.c:833:11:  [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.
	handle = LoadLibrary (pluginpath);
data/libvisual-0.4.0/libvisual/lv_plugin.h:214:20:  [3] (random) random:
  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.
	VisRandomContext	 random;	/**< Pointer to the plugin it's private random context. It's highly adviced to use
data/libvisual-0.4.0/libvisual/lv_bmp.c:256: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 magic[2];
data/libvisual-0.4.0/libvisual/lv_bmp.c:278:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen (filename, "rb");
data/libvisual-0.4.0/libvisual/lv_config.c:108: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 namebuf[64];
data/libvisual-0.4.0/libvisual/lv_config.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 sectionname[128];
data/libvisual-0.4.0/libvisual/lv_config.c:118:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (configfile, O_RDONLY);
data/libvisual-0.4.0/libvisual/lv_fourier.c:227: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 key[16];
data/libvisual-0.4.0/libvisual/lv_fourier.c:267: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 key[16];
data/libvisual-0.4.0/libvisual/lv_libvisual.c:276: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 temppluginpath[FILENAME_MAX+1];
data/libvisual-0.4.0/libvisual/lv_log.c:183: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[1024];
data/libvisual-0.4.0/libvisual/lv_log.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 str[1024];
data/libvisual-0.4.0/libvisual/lv_log.h: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 sever_msg[10];
data/libvisual-0.4.0/libvisual/lv_log.h:208: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[1024];
data/libvisual-0.4.0/libvisual/lv_log.h:210: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 sever_msg[10];
data/libvisual-0.4.0/libvisual/lv_plugin.c:535: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 temp[FILENAME_MAX];
data/libvisual-0.4.0/libvisual/lv_plugin.c:543:2:  [2] (buffer) TCHAR:
  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.
	TCHAR szDir[MAX_PATH+1];
data/libvisual-0.4.0/libvisual/lv_plugin.c:544:2:  [2] (buffer) TCHAR:
  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.
	TCHAR szSubDir[MAX_PATH+1];
data/libvisual-0.4.0/libvisual/lv_bmp.c:79:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					uint8_t p = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:85:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					*col++ = fgetc (fp) >> 4;
data/libvisual-0.4.0/libvisual/lv_bmp.c:100:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					uint8_t p = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:108:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					uint8_t p = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:142:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((c = fgetc (fp)) == EOF)
data/libvisual-0.4.0/libvisual/lv_bmp.c:150:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			p = fgetc (fp); /* Color */
data/libvisual-0.4.0/libvisual/lv_bmp.c:168:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:189:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				col += (uint8_t) fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:192:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				c = (uint8_t) fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:205:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
						*col++ = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:210:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
						p = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:216:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
						*col++ = fgetc (fp) >> 4;
data/libvisual-0.4.0/libvisual/lv_bmp.c:220:6:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:381:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				video->pal->colors[i].b = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:382:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				video->pal->colors[i].g = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:383:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				video->pal->colors[i].r = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:387:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				video->pal->colors[i].b = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:388:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				video->pal->colors[i].g = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_bmp.c:389:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				video->pal->colors[i].r = fgetc (fp);
data/libvisual-0.4.0/libvisual/lv_config.c:132:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read (fd, namebuf, 19) != 19)
data/libvisual-0.4.0/libvisual/lv_config.c:146:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read (fd, &datalength, sizeof (uint32_t)) != 4)
data/libvisual-0.4.0/libvisual/lv_config.c:149:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read (fd, sectionname, datalength > 128 ? 128 : datalength) != (datalength > 128 ? 128 : datalength))
data/libvisual-0.4.0/libvisual/lv_config.c:158:56:  [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).
		lseek (fd, (datalength > 128 ? -128 : -datalength) + strlen (sectionname), SEEK_CUR);
data/libvisual-0.4.0/libvisual/lv_config.c:163:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read (fd, rsection->data, datalength) != datalength) {
data/libvisual-0.4.0/libvisual/lv_log.h:138:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "DEBUG", 9);
data/libvisual-0.4.0/libvisual/lv_log.h:141:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "INFO", 9);
data/libvisual-0.4.0/libvisual/lv_log.h:144:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "WARNING", 9);
data/libvisual-0.4.0/libvisual/lv_log.h:147:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "CRITICAL", 9);
data/libvisual-0.4.0/libvisual/lv_log.h:150:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "ERROR", 9);
data/libvisual-0.4.0/libvisual/lv_log.h:221:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "DEBUG", 9);
data/libvisual-0.4.0/libvisual/lv_log.h:224:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "INFO", 9);
data/libvisual-0.4.0/libvisual/lv_log.h:227:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "WARNING", 9);
data/libvisual-0.4.0/libvisual/lv_log.h:230:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "CRITICAL", 9);
data/libvisual-0.4.0/libvisual/lv_log.h:233:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy (sever_msg, "ERROR", 9);
data/libvisual-0.4.0/libvisual/lv_plugin.c:157: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).
				end = str + strlen (str);
data/libvisual-0.4.0/libvisual/lv_plugin.c:174:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (buf, start, end - start);
data/libvisual-0.4.0/libvisual/lv_plugin.c:567: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 (temp);
data/libvisual-0.4.0/libvisual/lv_plugin.c:607:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen (temp);
data/libvisual-0.4.0/libvisual/lv_plugin.c:1042:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (typestr, str, flags - str);
data/libvisual-0.4.0/libvisual/lv_plugin.c:1102:32:  [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).
	ndomain = visual_mem_malloc0 (strlen (domain) + 1);
data/libvisual-0.4.0/libvisual/lv_plugin.c:1106:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (ndomain, domain, tmp - domain);
data/libvisual-0.4.0/libvisual/lv_plugin.c:1167:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	flagsret = visual_mem_malloc0 (strlen (flagstr) - 1);
data/libvisual-0.4.0/libvisual/lv_plugin.c:1169:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (flagsret, flagstr, strlen (flagstr) - 1);
data/libvisual-0.4.0/libvisual/lv_plugin.c:1169: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).
	strncpy (flagsret, flagstr, strlen (flagstr) - 1);
data/libvisual-0.4.0/libvisual/lv_plugin.c:1170: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).
	flagsret[strlen (flagstr) - 1] = '\0';
data/libvisual-0.4.0/libvisual/lv_time.c:238:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	return usleep (microseconds);

ANALYSIS SUMMARY:

Hits = 73
Lines analyzed = 29600 in approximately 0.71 seconds (41481 lines/second)
Physical Source Lines of Code (SLOC) = 15713
Hits@level = [0]  41 [1]  46 [2]  16 [3]   6 [4]   5 [5]   0
Hits@level+ = [0+] 114 [1+]  73 [2+]  27 [3+]  11 [4+]   5 [5+]   0
Hits/KSLOC@level+ = [0+] 7.25514 [1+] 4.64583 [2+] 1.71832 [3+] 0.700057 [4+] 0.318208 [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.