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/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/connection.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionIGMP.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/livestreamer.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/menuHTTP.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/streamdev-server.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/livefilter.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/componentVTP.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/componentVTP.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/streamer.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/componentHTTP.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/menuHTTP.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/componentIGMP.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/server.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/component.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/suspend.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/menu.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/streamdev-server.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/recplayer.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/streamer.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/recstreamer.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/component.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/componentHTTP.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/componentIGMP.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/connection.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/menu.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/livestreamer.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/recstreamer.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/livefilter.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionIGMP.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/suspend.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/server.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/server/recplayer.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/common.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/filter.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/filter.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/socket.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/streamdev-client.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/streamdev-client.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/device.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/socket.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/client/device.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/tools/source.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/tools/tools.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/tools/tools.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/tools/select.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/tools/socket.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/tools/socket.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/tools/select.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/tools/source.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/remux.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/remux.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/common.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2es.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/tsremux.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/extern.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/extern.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/tsremux.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2ps.c
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2es.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2ps.h
Examining data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.h

FINAL RESULTS:

data/vdr-plugin-streamdev-0.6.1+git20180514/client/device.c:335:42:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		devType = d < 0 ? "STRDev" : *cString::sprintf("STRD%2d", d);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:38:4:  [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(RemoteIp, Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/common.c:37:9:  [4] (format) snprintf:
  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.
			p += snprintf(buf + p, sizeof(buf) - p, pos == i ? "[%d]" : "%d", 
data/vdr-plugin-streamdev-0.6.1+git20180514/common.c:75:4:  [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(value, inet_ntoa(addr));
data/vdr-plugin-streamdev-0.6.1+git20180514/common.c:89:4:  [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(value, inet_ntoa(addr));
data/vdr-plugin-streamdev-0.6.1+git20180514/common.c:108:4:  [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(value, inet_ntoa(addr));
data/vdr-plugin-streamdev-0.6.1+git20180514/common.c:137:4:  [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(value, inet_ntoa(addr));
data/vdr-plugin-streamdev-0.6.1+git20180514/common.h:25:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stderr, "%ld.%.3ld [%d] "fmt,\
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/extern.c:227:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if (access(opt_remux, X_OK) == -1) {
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/extern.c:232:7:  [4] (shell) execle:
  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.
		if (execle("/bin/sh", "sh", "-c", opt_remux, NULL, env) == -1) {
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connection.c:217:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	return cString::sprintf("%s%c%s:%d", Protocol(), Delimiter, RemoteIp().c_str(), RemotePort());
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:336:36:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
        cString headers = cString::vsprintf(Headers, ap);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:338:36:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        cString headers = cString::sprintf(Headers, ap);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:665:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	return Streamer() ? cString::sprintf("%s%c%s", *str, Delimiter, *Streamer()->ToText()) : str;
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionIGMP.c:76:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	return Streamer() ? cString::sprintf("%s%c%s", *str, Delimiter, *Streamer()->ToText()) : str;
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:80: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(buf, Option);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:162:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					m_Error = cString::sprintf("Channel \"%s\" not defined", p);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:167:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				m_Error = cString::sprintf("Unknown option: \"%s\"", p);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:411:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				m_Error = cString::sprintf("Channel \"%s\" not defined", Option);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:436:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				m_Error = cString::sprintf("Channel \"%s\" not defined", Option);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:498:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				m_Error = cString::sprintf("Channel \"%d\" not found", i);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:553:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				m_Error = cString::sprintf("Timer \"%s\" not defined", Option);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:557:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			m_Error = cString::sprintf("Error in timer number \"%s\"", Option);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:573:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			m_Error = cString::sprintf("Timer \"%d\" not found", m_Index + 1);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:616:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			m_Error = cString::sprintf("Timer \"%d\" not found", m_Index + 1);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:674:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				m_Error = cString::sprintf("Recording \"%s\" not found", Option);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:679:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			m_Error = cString::sprintf("Error in Recording number \"%s\"", Option);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:696:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			m_Error = cString::sprintf("Recording \"%d\" not found", m_Index + 1);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:812:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				m_Error = cString::sprintf("Recording \"%d\" not found", m_Index + 1);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:1642: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(buf, Option);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:2095:25:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	cString str = cString::vsprintf(Message, ap);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:2097:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	cString str = cString::sprintf(Message, ap);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:2115:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		return cString::sprintf("%s%c%s", *str, Delimiter, *Streamer()->ToText());
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:2117:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		return cString::sprintf("%s%c%s", *str, Delimiter, m_RecPlayer->getCurrentRecording()->Name());
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.h:100:28:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			__attribute__ ((format (printf, 3, 4)));
data/vdr-plugin-streamdev-0.6.1+git20180514/server/livestreamer.c:480:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		return cString::sprintf("DVB%-2d %3d %s", m_Device->DeviceNumber() + 1, m_Channel->Number(), m_Channel->Name());
data/vdr-plugin-streamdev-0.6.1+git20180514/server/menuHTTP.c:65:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		return cString::sprintf("%lu:%llu.rec", (unsigned long) st.st_dev, (unsigned long long) st.st_ino);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:43:49:  [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).
	else if (strcmp(Name, "VTPBindIP") == 0)       strcpy(VTPBindIP, Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:49:49:  [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).
	else if (strcmp(Name, "HTTPBindIP") == 0)      strcpy(HTTPBindIP, Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:54:49:  [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).
	else if (strcmp(Name, "IGMPBindIP") == 0)      strcpy(IGMPBindIP, Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:122:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString str = cString::sprintf("--- %s -------------------------------------------------"
data/vdr-plugin-streamdev-0.6.1+git20180514/server/streamdev-server.c:116:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if (access(STREAMDEVHOSTSPATH, F_OK) != 0) {
data/vdr-plugin-streamdev-0.6.1+git20180514/server/streamdev-server.c:224:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				reply = cString::sprintf("%s%p: %s\n", (const char*) reply, s, (const char *) s->ToText());
data/vdr-plugin-streamdev-0.6.1+git20180514/server/streamdev-server.c:85:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "a:r:", long_options, NULL)) != -1) {
data/vdr-plugin-streamdev-0.6.1+git20180514/client/device.c:239: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 tmp[1];
data/vdr-plugin-streamdev-0.6.1+git20180514/client/filter.c:142: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(m_Buffer + m_Used, Data, Length);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/filter.c:314: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 tmp[1];
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:33:61:  [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).
	if      (strcmp(Name, "StartClient") == 0)   StartClient = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:40:60:  [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).
	else if (strcmp(Name, "RemotePort") == 0)    RemotePort = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:41:57:  [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).
	else if (strcmp(Name, "Timeout") == 0)       Timeout = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:42:63:  [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).
	else if (strcmp(Name, "StreamFilters") == 0) StreamFilters = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:43:63:  [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).
	else if (strcmp(Name, "HideMenuEntry") == 0) HideMenuEntry = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:44:62:  [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).
	else if (strcmp(Name, "LivePriority") == 0)  LivePriority = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:45:61:  [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).
	else if (strcmp(Name, "MinPriority") == 0)   MinPriority = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:46:61:  [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).
	else if (strcmp(Name, "MaxPriority") == 0)   MaxPriority = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:47:71:  [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).
	else if (strcmp(Name, "FilterSockBufSize") == 0) FilterSockBufSize = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:49:73:  [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).
	else if (strcmp(Name, "NumProvidedSystems") == 0) NumProvidedSystems = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.h:16: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 RemoteIp[20];
data/vdr-plugin-streamdev-0.6.1+git20180514/client/socket.h:23: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          m_Buffer[BUFSIZ + 1]; // various uses
data/vdr-plugin-streamdev-0.6.1+git20180514/common.c:30: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[1000];
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:148: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,headr,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:165: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+count,p->pes_pckt_data,p->length);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:184: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(buf+count,&p->flags1,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:186: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(buf+count,&p->flags2,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:188: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(buf+count,&p->pes_hlength,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:192: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(buf+count,p->pts,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:196: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(buf+count,p->pts,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:198: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(buf+count,p->dts,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:202: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(buf+count,p->escr,6);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:206: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(buf+count,p->es_rate,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:210: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(buf+count,&p->trick,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:214: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(buf+count,&p->add_cpy,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:218: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(buf+count,p->prev_pes_crc,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:222: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(buf+count,&p->priv_flags,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:226: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(buf+count,p->pes_priv_data,16);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:230: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(buf+count,&p->pack_field_length,
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:233: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(buf+count,p->pack_header,
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:240: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(buf+count,&p->pck_sqnc_cntr,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:242: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(buf+count,&p->org_stuff_length,
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:248: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(buf+count,p->p_std,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:252: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(buf+count,&p->pes_ext_lngth,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:254: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(buf+count,p->pes_ext,
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:261: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(buf+count,&dummy,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:266: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(buf+count,p->mpeg1_headr,p->mpeg1_pad);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:270: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(buf+count,p->pts,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:275: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(buf+count,p->pts,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:277: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(buf+count,p->dts,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:281: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+count,p->pes_pckt_data,p->length);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:357: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(p->pes_pckt_data,buf+c,p->length);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:362: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(p->pes_pckt_data,buf+c,p->length);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:377: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->flags1,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:383: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(&p->flags2,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:385: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(&p->pes_hlength,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:392: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(p->pts,buf+c,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:397: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(p->pts,buf+c,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:399: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(p->dts,buf+c,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:405: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(p->escr,buf+c,6);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:411: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(p->es_rate,buf+c,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:417: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(&p->trick,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:423: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(&p->add_cpy,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:429: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(p->prev_pes_crc,buf+c,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:435: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(&p->priv_flags,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:440: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(p->pes_priv_data,buf+c,16);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:446: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(&p->pack_field_length,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:450: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(p->pack_header,buf+c,
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:457: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(&p->pck_sqnc_cntr,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:459: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(&p->org_stuff_length,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:465: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(p->p_std,buf+c,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:471: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(&p->pes_ext_lngth,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:475: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(p->pes_ext,buf+c,
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:483: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(&dummy,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:490: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(&check,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:496: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(&check,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:499: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(&check,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:517: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(p->mpeg1_headr,buf+c,
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:524: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(p->pts,buf+c,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:531: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(p->pts,buf+c,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:533: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(p->dts,buf+c,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:541: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(p->mpeg1_headr,buf+c,
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:546: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->pes_pckt_data,buf+c,p->length);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:649: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,&sync,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:651: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+count,p->pid,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:653: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+count,&p->flags,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:658: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+count,p->data,184);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:661: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+count,&p->adapt_length,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:663: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+count,&p->adapt_flags,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:667: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(buf+count, p->pcr,6);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:671: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(buf+count, p->opcr,6);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:675: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(buf+count, &p->splice_count,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:679: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(buf+count,&p->priv_dat_len,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:681: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(buf+count,p->priv_dat,p->priv_dat_len);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:686: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(buf+count,&p->adapt_ext_len,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:688: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(buf+count,&p->adapt_eflags,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:692: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(buf+count,p->ltw,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:696: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(buf+count,p->piece_rate,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:700: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(buf+count,p->dts,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:706: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(buf+count,&dummy,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:710: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(buf+count,p->data,p->rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:808: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->pid,buf+count,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:816: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(p->data,buf+count,184);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:826: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(&p->adapt_flags,buf+count,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:830: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( p->pcr,buf+count,6);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:834: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( p->opcr,buf+count,6);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:838: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( &p->splice_count,buf+count,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:842: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(&p->priv_dat_len,buf+count,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:845: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(p->priv_dat,buf+count,p->priv_dat_len);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:850: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(&p->adapt_ext_len,buf+count,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:852: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(&p->adapt_eflags,buf+count,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:855: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(p->ltw,buf+count,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:859: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(p->piece_rate,buf+count,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:863: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(p->dts,buf+count,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:872: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(p->data,buf+count,p->rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:990: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,headr1,4);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:993: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+count,p->scr,6);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:995: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+count,p->mux_rate,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:997: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+count,&p->stuff_length,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1000: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(buf+count,&buffy,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1004: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+count,p->scr,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1006: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+count,p->mux_rate,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1010: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+count,headr2,4);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1012: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+count,p->sheader_llength,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1015: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(buf+count,p->rate_bound,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1017: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(buf+count,&p->audio_bound,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1019: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(buf+count,&p->video_bound,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1021: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(buf+count,&p->reserved,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1024: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+count,p->data,p->sheader_length);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1143: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(p->scr,buf+c,6);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1151: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(p->mux_rate,buf+c,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1153: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(&p->stuff_length,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1159: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(p->mux_rate+1,buf+c,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1168: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(p->sheader_llength,buf+c,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1172: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(p->rate_bound,buf+c,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1174: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(&p->audio_bound,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1176: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(&p->video_bound,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1178: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(&p->reserved,buf+c,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1181: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(p->data,buf+c,p->sheader_length);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1400: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(p->transbuf+c,buf,count);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1693: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(p->pes+p->pos,buf+c,TS_SIZE-4-p->pos);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1713: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(p->pes+p->pos,buf,l);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1739: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(p->pes,buf+c+l,rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1782: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(obuf+l, buf+c, TS_SIZE-l);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:1787: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(obuf+l, buf+c, TS_SIZE-l);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/remux.c:38:1:  [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 *frames[3] = {"I-Frame","P-Frame","B-Frame"};
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:64: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->buffy+pos, data, rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:66: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 (rbuf->buffy, data+rest, count - rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:69: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->buffy+pos, data, count);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.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(data, rbuf->buffy+pos, count);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:96: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(data, rbuf->buffy+pos, rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:98: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(data+rest, rbuf->buffy, count - rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:119: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(data, rbuf->buffy+pos, count);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:122: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(data, rbuf->buffy+pos, rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:124: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(data+rest, rbuf->buffy, count - rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:206: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(buf,tshead,4);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:244: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(obuf+c,headr,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:246: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(obuf+c,&id,1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:255: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(obuf+c,le,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:271: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(obuf+c,dummy,3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:276: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(obuf+c,ppts,5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:328: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(p->buf+4,(char *)&p->bigend_repack,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:337: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+4,(char *)&p->bigend_repack,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:343: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(p->buf+4,(char *)&p->bigend_repack,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:348: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(buf,p->buf,9+p->hlength);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:359: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(buf+9,p->buf+count,repack-3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:379: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(buf+9+bfill+diff,p->buf+count,rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:384: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(buf+9+bfill,p->buf+count,rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:396: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(p->buf+4,(char *)&p->bigend_repack,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:401: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(buf,p->buf,6+p->hlength);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:410: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(buf+7,p->buf+count,repack-1);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:428: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(buf+7+diff,p->buf+count,rest+bfill);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:435: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(buf+7,p->buf+count,rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:438: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(buf+6,p->buf+count,rest+bfill);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:594: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(p->buf, headr, 3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:596: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(p->buf+4,p->plen,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:714: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(p->buf+p->found, buf+c, l);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1014: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(obuf+l, p->buf+c, TS_SIZE-l);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1019: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(obuf+l, p->buf+c, TS_SIZE-l);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1173: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,mbuf+i,TS_SIZE-i);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1176: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+TS_SIZE-i,mbuf,i);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1267: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,mbuf+i,TS_SIZE-i);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1269: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+TS_SIZE-i,mbuf,i);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1435: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(p->buf, headr, 3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1437: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(p->buf+4,p->plen,2);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1555: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(p->buf+p->found, buf+c, l);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:2073: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(p->last_pts, p->pts, 5);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:2075: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(p->buf+p->count, headr, 3);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:2105: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(p->buf+p->count, data, count); 
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:2110: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(p->buf+p->count, data, rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:2455: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,mbuf+i,TS_SIZE-i);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:2458: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+TS_SIZE-i,mbuf,i);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:2571: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,mbuf+i,TS_SIZE-i);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:2574: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+TS_SIZE-i,mbuf,i);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/extern.c:71: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 *env[MAXENV + 1];
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:259:16:  [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(pesHeader, pesHeaderBackup, pesHeaderBackupLen);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:386: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(pesHeaderBackup, Data, pesHeaderBackupLen);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:494: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(fragmentData + fragmentLen, pesHeader, bite);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:501: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(fragmentData + fragmentLen, payload, bite);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:747: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(pesHeaderBackup, Data, pesHeaderBackupLen);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:789:21:  [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(pesHeader, pesHeaderBackup, pesHeaderBackupLen);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:924: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(fragmentData + fragmentLen, pesHeader, bite);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:931: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(fragmentData + fragmentLen, payload, bite);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:1123: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(fragmentData + fragmentLen, Data, Bite);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:1158: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(fragmentData + fragmentLen, pesHeader, Bite);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:1163: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(fragmentData + fragmentLen, Data, Bite);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:1184: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(pesHeaderBackup, Data, pesHeaderBackupLen);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:1202:22:  [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(pesHeader, pesHeaderBackup, pesHeaderLen);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:1510: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(buf, headr, 3);
data/vdr-plugin-streamdev-0.6.1+git20180514/remux/ts2pes.c:1528: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 + count, Data, bite);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/componentIGMP.h:18: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 m_ReadBuffer[2048];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connection.c:198: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(m_WriteBuffer + m_WriteBytes, buffer, length);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connection.h:30: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        m_ReadBuffer[MAXPARSEBUFFER];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connection.h:33: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        m_WriteBuffer[MAXPARSEBUFFER];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:171:15:  [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).
		m_Apid[0] = atoi(it->second.c_str());
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:174:15:  [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).
		m_Dpid[0] = atoi(it->second.c_str());
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:572:31:  [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 id = pos[6] == '.' ? atoi(pos + 7) : 0;
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:576:18:  [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 index = atoi(pos + 5);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:580:20:  [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 seconds = atoi(pos + 5);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:584:18:  [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 frame = atoi(pos + 6);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:588:20:  [2] (integer) atol:
  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).
					m_ReplayPos = atol(pos);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:79: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[strlen(Option) + 1];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:1074: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 dataip[20];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:1090: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(ipoffs, Opts, ep - Opts);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:1641: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[strlen(Option) + 1];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/livefilter.c:65: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(buffer + 5, Data + pos, chunk);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/menuHTTP.c:125:15:  [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 Index = atoi(GroupId);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/recplayer.c:47:12:  [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[2 * TS_SIZE];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/recplayer.c:63: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 fileName[2048];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/recplayer.c:68:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen(fileName, "r");
data/vdr-plugin-streamdev-0.6.1+git20180514/server/recplayer.c:71:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      file = fopen(fileName, "r");
data/vdr-plugin-streamdev-0.6.1+git20180514/server/recplayer.c:103: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 fileName[2048];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/recplayer.c:108: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).
  file = fopen(fileName, "r");
data/vdr-plugin-streamdev-0.6.1+git20180514/server/recplayer.c:119: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).
  file = fopen(fileName, "r");
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:30:2:  [2] (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). Risk is low because the source is a constant string.
	strcpy(VTPBindIP, "0.0.0.0");
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:31:2:  [2] (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). Risk is low because the source is a constant string.
	strcpy(HTTPBindIP, "0.0.0.0");
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:32:2:  [2] (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). Risk is low because the source is a constant string.
	strcpy(IGMPBindIP, "0.0.0.0");
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:36:67:  [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).
	if      (strcmp(Name, "HideMenuEntry") == 0)   HideMenuEntry   = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:37:67:  [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).
	else if (strcmp(Name, "MaxClients") == 0)      MaxClients      = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:38:67:  [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).
	else if (strcmp(Name, "StartSuspended") == 0)  StartSuspended  = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:39:67:  [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).
	else if (strcmp(Name, "LiveBufferMs") == 0)    LiveBufferMs    = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:40:67:  [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).
	else if (strcmp(Name, "StartServer") == 0)     StartVTPServer  = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:41:67:  [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).
	else if (strcmp(Name, "ServerPort") == 0)      VTPServerPort   = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:42:67:  [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).
	else if (strcmp(Name, "VTPPriority") == 0)     VTPPriority     = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:44:67:  [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).
	else if (strcmp(Name, "LoopPrevention") == 0)  LoopPrevention  = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:45:67:  [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).
	else if (strcmp(Name, "StartHTTPServer") == 0) StartHTTPServer = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:46:67:  [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).
	else if (strcmp(Name, "HTTPServerPort") == 0)  HTTPServerPort  = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:47:67:  [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).
	else if (strcmp(Name, "HTTPPriority") == 0)    HTTPPriority    = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:48:67:  [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).
	else if (strcmp(Name, "HTTPStreamType") == 0)  HTTPStreamType  = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:50:67:  [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).
	else if (strcmp(Name, "StartIGMPServer") == 0) StartIGMPServer = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:51:67:  [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).
	else if (strcmp(Name, "IGMPClientPort") == 0)  IGMPClientPort  = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:52:67:  [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).
	else if (strcmp(Name, "IGMPPriority") == 0)    IGMPPriority    = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:53:67:  [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).
	else if (strcmp(Name, "IGMPStreamType") == 0)  IGMPStreamType  = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:55:67:  [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).
	else if (strcmp(Name, "AllowSuspend") == 0)    AllowSuspend    = atoi(Value);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.c:78:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const char *StartSuspendedItems[ss_Count] =
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.h:28: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 VTPBindIP[20];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.h:36: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 HTTPBindIP[20];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/setup.h:41: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 IGMPBindIP[20];
data/vdr-plugin-streamdev-0.6.1+git20180514/tools/source.c:122: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(Buffer, m_LineBuffer.data(), len);
data/vdr-plugin-streamdev-0.6.1+git20180514/tools/source.c:154: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(Buffer, m_LineBuffer.data(), len);
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:28:2:  [1] (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). Risk is low because the source is a constant character.
	strcpy(RemoteIp, "");
data/vdr-plugin-streamdev-0.6.1+git20180514/client/setup.c:36:4:  [1] (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). Risk is low because the source is a constant character.
			strcpy(RemoteIp, "");
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ctools.c:46:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		neof = read(fd, buf+re, count - re);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/remux.c:1047:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	uint64_t    read;
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/remux.c:1180:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		count = read(fdin,buf,SIZE);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:148:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		rr = read (fd, rbuf->buffy+pos, rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:150:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			rr += read (fd, rbuf->buffy, count - rest);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/ringbuffy.c:154:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		rr = read (fd, rbuf->buffy+pos, count);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:795:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			count = read(fdin,buf,2048);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:827:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			count = read(fdin,buf,SIZE);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:955:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		count = read(fdin,buf,SIZE);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1061:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		count = read(fdin,buf,SIZE);
data/vdr-plugin-streamdev-0.6.1+git20180514/libdvbmpeg/transform.c:1082:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                count = read(fd, buf, IN_SIZE);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionHTTP.c:373: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).
	if (rc && strlen(Headers) > 0)
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:79: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).
		char buf[strlen(Option) + 1];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:477: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).
	buffer[strlen(buffer) - 1] = '\0'; // remove \n
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:603: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).
	buffer[strlen(buffer) - 1] = '\0'; // strip \n
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:924: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).
			param = Cmd + strlen(Cmd);
data/vdr-plugin-streamdev-0.6.1+git20180514/server/connectionVTP.c:1641: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).
		char buf[strlen(Option) + 1];
data/vdr-plugin-streamdev-0.6.1+git20180514/server/menuHTTP.c:547:6:  [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(ItemId()) < 4)
data/vdr-plugin-streamdev-0.6.1+git20180514/server/streamdev-server.c:91:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					int l = strlen(optarg);
data/vdr-plugin-streamdev-0.6.1+git20180514/tools/source.c:123: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).
		m_LineBuffer.erase(0, len + strlen(Seq));
data/vdr-plugin-streamdev-0.6.1+git20180514/tools/source.c:155: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).
				m_LineBuffer.erase(0, len + strlen(Seq));

ANALYSIS SUMMARY:

Hits = 320
Lines analyzed = 20245 in approximately 0.53 seconds (38415 lines/second)
Physical Source Lines of Code (SLOC) = 16281
Hits@level = [0] 125 [1]  23 [2] 253 [3]   1 [4]  43 [5]   0
Hits@level+ = [0+] 445 [1+] 320 [2+] 297 [3+]  44 [4+]  43 [5+]   0
Hits/KSLOC@level+ = [0+] 27.3325 [1+] 19.6548 [2+] 18.2421 [3+] 2.70254 [4+] 2.64112 [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.