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/gkrellm-gkrellmpc-0.1~beta10/addlist.h
Examining data/gkrellm-gkrellmpc-0.1~beta10/conf.c
Examining data/gkrellm-gkrellmpc-0.1~beta10/conf.h
Examining data/gkrellm-gkrellmpc-0.1~beta10/gkrellmpc.c
Examining data/gkrellm-gkrellmpc-0.1~beta10/gkrellmpc.h
Examining data/gkrellm-gkrellmpc-0.1~beta10/globals.h
Examining data/gkrellm-gkrellmpc-0.1~beta10/mpd.h
Examining data/gkrellm-gkrellmpc-0.1~beta10/playlist.c
Examining data/gkrellm-gkrellmpc-0.1~beta10/playlist.h
Examining data/gkrellm-gkrellmpc-0.1~beta10/url.c
Examining data/gkrellm-gkrellmpc-0.1~beta10/url.h
Examining data/gkrellm-gkrellmpc-0.1~beta10/mpd.c
Examining data/gkrellm-gkrellmpc-0.1~beta10/addlist.c

FINAL RESULTS:

data/gkrellm-gkrellmpc-0.1~beta10/addlist.c:382:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(tempiter, &iter, sizeof(iter));
data/gkrellm-gkrellmpc-0.1~beta10/mpd.c:47:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy((char *)server->h_addr,
data/gkrellm-gkrellmpc-0.1~beta10/addlist.c:236: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).
		if (oldurl && strlen(oldurl) > 0) {
data/gkrellm-gkrellmpc-0.1~beta10/conf.c:176:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(line);
data/gkrellm-gkrellmpc-0.1~beta10/conf.c:180:6:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (sscanf(line, "%31s %[^\n]", keyword, value) == 2) {
data/gkrellm-gkrellmpc-0.1~beta10/url.c:85:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						if (g_strncasecmp(parts[0], "file", 4) == 0 && strlen(parts[0]) >= 5 && g_ascii_isdigit(parts[0][4])) {

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 2622 in approximately 0.09 seconds (29573 lines/second)
Physical Source Lines of Code (SLOC) = 1700
Hits@level = [0]   8 [1]   4 [2]   2 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  14 [1+]   6 [2+]   2 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 8.23529 [1+] 3.52941 [2+] 1.17647 [3+]   0 [4+]   0 [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.