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/isc-dhcp-4.4.1/client/client_tables.c
Examining data/isc-dhcp-4.4.1/client/clparse.c
Examining data/isc-dhcp-4.4.1/client/dhc6.c
Examining data/isc-dhcp-4.4.1/client/tests/duid_unittest.c
Examining data/isc-dhcp-4.4.1/client/dhclient.c
Examining data/isc-dhcp-4.4.1/common/alloc.c
Examining data/isc-dhcp-4.4.1/common/bpf.c
Examining data/isc-dhcp-4.4.1/common/comapi.c
Examining data/isc-dhcp-4.4.1/common/conflex.c
Examining data/isc-dhcp-4.4.1/common/ctrace.c
Examining data/isc-dhcp-4.4.1/common/dhcp4o6.c
Examining data/isc-dhcp-4.4.1/common/dispatch.c
Examining data/isc-dhcp-4.4.1/common/dlpi.c
Examining data/isc-dhcp-4.4.1/common/dns.c
Examining data/isc-dhcp-4.4.1/common/ethernet.c
Examining data/isc-dhcp-4.4.1/common/execute.c
Examining data/isc-dhcp-4.4.1/common/fddi.c
Examining data/isc-dhcp-4.4.1/common/icmp.c
Examining data/isc-dhcp-4.4.1/common/inet.c
Examining data/isc-dhcp-4.4.1/common/lpf.c
Examining data/isc-dhcp-4.4.1/common/memory.c
Examining data/isc-dhcp-4.4.1/common/nit.c
Examining data/isc-dhcp-4.4.1/common/ns_name.c
Examining data/isc-dhcp-4.4.1/common/options.c
Examining data/isc-dhcp-4.4.1/common/packet.c
Examining data/isc-dhcp-4.4.1/common/print.c
Examining data/isc-dhcp-4.4.1/common/raw.c
Examining data/isc-dhcp-4.4.1/common/resolv.c
Examining data/isc-dhcp-4.4.1/common/socket.c
Examining data/isc-dhcp-4.4.1/common/tables.c
Examining data/isc-dhcp-4.4.1/common/tests/dns_unittest.c
Examining data/isc-dhcp-4.4.1/common/tests/misc_unittest.c
Examining data/isc-dhcp-4.4.1/common/tests/ns_name_test.c
Examining data/isc-dhcp-4.4.1/common/tests/option_unittest.c
Examining data/isc-dhcp-4.4.1/common/tests/test_alloc.c
Examining data/isc-dhcp-4.4.1/common/tr.c
Examining data/isc-dhcp-4.4.1/common/tree.c
Examining data/isc-dhcp-4.4.1/common/upf.c
Examining data/isc-dhcp-4.4.1/common/discover.c
Examining data/isc-dhcp-4.4.1/common/parse.c
Examining data/isc-dhcp-4.4.1/dhcpctl/callback.c
Examining data/isc-dhcp-4.4.1/dhcpctl/cltest.c
Examining data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c
Examining data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.h
Examining data/isc-dhcp-4.4.1/dhcpctl/omshell.c
Examining data/isc-dhcp-4.4.1/dhcpctl/remote.c
Examining data/isc-dhcp-4.4.1/includes/arpa/nameser.h
Examining data/isc-dhcp-4.4.1/includes/arpa/nameser_compat.h
Examining data/isc-dhcp-4.4.1/includes/cdefs.h
Examining data/isc-dhcp-4.4.1/includes/ctrace.h
Examining data/isc-dhcp-4.4.1/includes/dhcp.h
Examining data/isc-dhcp-4.4.1/includes/dhcp6.h
Examining data/isc-dhcp-4.4.1/includes/dhctoken.h
Examining data/isc-dhcp-4.4.1/includes/failover.h
Examining data/isc-dhcp-4.4.1/includes/heap.h
Examining data/isc-dhcp-4.4.1/includes/inet.h
Examining data/isc-dhcp-4.4.1/includes/ldap_casa.h
Examining data/isc-dhcp-4.4.1/includes/ldap_krb_helper.h
Examining data/isc-dhcp-4.4.1/includes/netinet/if_ether.h
Examining data/isc-dhcp-4.4.1/includes/netinet/ip.h
Examining data/isc-dhcp-4.4.1/includes/netinet/ip_icmp.h
Examining data/isc-dhcp-4.4.1/includes/netinet/udp.h
Examining data/isc-dhcp-4.4.1/includes/ns_name.h
Examining data/isc-dhcp-4.4.1/includes/omapip/alloc.h
Examining data/isc-dhcp-4.4.1/includes/omapip/buffer.h
Examining data/isc-dhcp-4.4.1/includes/omapip/convert.h
Examining data/isc-dhcp-4.4.1/includes/omapip/hash.h
Examining data/isc-dhcp-4.4.1/includes/omapip/isclib.h
Examining data/isc-dhcp-4.4.1/includes/omapip/omapip_p.h
Examining data/isc-dhcp-4.4.1/includes/omapip/result.h
Examining data/isc-dhcp-4.4.1/includes/omapip/trace.h
Examining data/isc-dhcp-4.4.1/includes/omapip/omapip.h
Examining data/isc-dhcp-4.4.1/includes/osdep.h
Examining data/isc-dhcp-4.4.1/includes/statement.h
Examining data/isc-dhcp-4.4.1/includes/t_api.h
Examining data/isc-dhcp-4.4.1/includes/tree.h
Examining data/isc-dhcp-4.4.1/includes/site.h
Examining data/isc-dhcp-4.4.1/includes/dhcpd.h
Examining data/isc-dhcp-4.4.1/omapip/alloc.c
Examining data/isc-dhcp-4.4.1/omapip/array.c
Examining data/isc-dhcp-4.4.1/omapip/auth.c
Examining data/isc-dhcp-4.4.1/omapip/buffer.c
Examining data/isc-dhcp-4.4.1/omapip/connection.c
Examining data/isc-dhcp-4.4.1/omapip/convert.c
Examining data/isc-dhcp-4.4.1/omapip/dispatch.c
Examining data/isc-dhcp-4.4.1/omapip/errwarn.c
Examining data/isc-dhcp-4.4.1/omapip/generic.c
Examining data/isc-dhcp-4.4.1/omapip/handle.c
Examining data/isc-dhcp-4.4.1/omapip/hash.c
Examining data/isc-dhcp-4.4.1/omapip/inet_addr.c
Examining data/isc-dhcp-4.4.1/omapip/iscprint.c
Examining data/isc-dhcp-4.4.1/omapip/listener.c
Examining data/isc-dhcp-4.4.1/omapip/message.c
Examining data/isc-dhcp-4.4.1/omapip/protocol.c
Examining data/isc-dhcp-4.4.1/omapip/result.c
Examining data/isc-dhcp-4.4.1/omapip/support.c
Examining data/isc-dhcp-4.4.1/omapip/test.c
Examining data/isc-dhcp-4.4.1/omapip/toisc.c
Examining data/isc-dhcp-4.4.1/omapip/trace.c
Examining data/isc-dhcp-4.4.1/omapip/isclib.c
Examining data/isc-dhcp-4.4.1/relay/dhcrelay.c
Examining data/isc-dhcp-4.4.1/server/bootp.c
Examining data/isc-dhcp-4.4.1/server/class.c
Examining data/isc-dhcp-4.4.1/server/confpars.c
Examining data/isc-dhcp-4.4.1/server/db.c
Examining data/isc-dhcp-4.4.1/server/ddns.c
Examining data/isc-dhcp-4.4.1/server/dhcp.c
Examining data/isc-dhcp-4.4.1/server/dhcpd.c
Examining data/isc-dhcp-4.4.1/server/dhcpleasequery.c
Examining data/isc-dhcp-4.4.1/server/dhcpv6.c
Examining data/isc-dhcp-4.4.1/server/failover.c
Examining data/isc-dhcp-4.4.1/server/ldap.c
Examining data/isc-dhcp-4.4.1/server/ldap_casa.c
Examining data/isc-dhcp-4.4.1/server/ldap_krb_helper.c
Examining data/isc-dhcp-4.4.1/server/leasechain.c
Examining data/isc-dhcp-4.4.1/server/mdb.c
Examining data/isc-dhcp-4.4.1/server/mdb6.c
Examining data/isc-dhcp-4.4.1/server/omapi.c
Examining data/isc-dhcp-4.4.1/server/salloc.c
Examining data/isc-dhcp-4.4.1/server/stables.c
Examining data/isc-dhcp-4.4.1/server/tests/hash_unittest.c
Examining data/isc-dhcp-4.4.1/server/tests/leaseq_unittest.c
Examining data/isc-dhcp-4.4.1/server/tests/load_bal_unittest.c
Examining data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c
Examining data/isc-dhcp-4.4.1/server/tests/simple_unittest.c
Examining data/isc-dhcp-4.4.1/tests/t_api.c
Examining data/isc-dhcp-4.4.1/tests/t_api_dhcp.c
Examining data/isc-dhcp-4.4.1/tests/unit_test_sample.c

FINAL RESULTS:

data/isc-dhcp-4.4.1/client/clparse.c:771: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 (config -> vendor_space_name, val);
data/isc-dhcp-4.4.1/client/clparse.c:796: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 (name, val);
data/isc-dhcp-4.4.1/client/clparse.c:1042: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(ip->name, name);
data/isc-dhcp-4.4.1/client/clparse.c:2222: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 (tmp -> string, val);
data/isc-dhcp-4.4.1/client/dhclient.c:447: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(tmp->string, argv[i]);
data/isc-dhcp-4.4.1/client/dhclient.c:576:7:  [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(tmp->name, argv[i]);
data/isc-dhcp-4.4.1/client/dhclient.c:1691:11:  [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(addrbuf, piaddr(ap->match.addr));
data/isc-dhcp-4.4.1/client/dhclient.c:1692:11:  [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(maskbuf, piaddr(ap->match.mask));
data/isc-dhcp-4.4.1/client/dhclient.c:1743:11:  [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(addrbuf, piaddr(ap->match.addr));
data/isc-dhcp-4.4.1/client/dhclient.c:1744:11:  [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(maskbuf, piaddr(ap->match.mask));
data/isc-dhcp-4.4.1/client/dhclient.c:1770: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(addrbuf, piaddr(packet->client_addr));
data/isc-dhcp-4.4.1/client/dhclient.c:2028:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (obuf, "%s of %s from %s", name,
data/isc-dhcp-4.4.1/client/dhclient.c:4350:8:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	len = vsnprintf (spbuf, sizeof spbuf, fmt, list);
data/isc-dhcp-4.4.1/client/dhclient.c:4361:2:  [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 (s, prefix);
data/isc-dhcp-4.4.1/client/dhclient.c:4362:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (s, name);
data/isc-dhcp-4.4.1/client/dhclient.c:4367:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		vsnprintf (s, len + 1, fmt, list);
data/isc-dhcp-4.4.1/client/dhclient.c:4370: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 (s, spbuf);
data/isc-dhcp-4.4.1/client/tests/duid_unittest.c:84:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(duid_fname, "%s/duidx_test.txt", srcdir);
data/isc-dhcp-4.4.1/client/tests/duid_unittest.c:93:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(duid_fname, "%s/duid0_test.txt", srcdir);
data/isc-dhcp-4.4.1/client/tests/duid_unittest.c:102:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(duid_fname, "%s/duid1_test.txt", srcdir);
data/isc-dhcp-4.4.1/client/tests/duid_unittest.c:112:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(duid_fname, "%s/duid2_test.txt", srcdir);
data/isc-dhcp-4.4.1/client/tests/duid_unittest.c:122:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(duid_fname, "%s/duid3_test.txt", srcdir);
data/isc-dhcp-4.4.1/common/alloc.c:781:2:  [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 (bp -> hostname, hostname);
data/isc-dhcp-4.4.1/common/bpf.c:96:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(filename, BPF_FORMAT, b);
data/isc-dhcp-4.4.1/common/comapi.c:282: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 (group -> name, hnbuf);
data/isc-dhcp-4.4.1/common/discover.c:732: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(tif->ifr_name, tmp->name);
data/isc-dhcp-4.4.1/common/dns.c:679: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 (tname, name);
data/isc-dhcp-4.4.1/common/dns.c:1253:2:  [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((char *)&ddns_cb->zone_name[0], zone->name);
data/isc-dhcp-4.4.1/common/dns.c:1404: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(zone->name, ns_cb->zname);
data/isc-dhcp-4.4.1/common/dns.c:3044:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(s, "%s%p", en, ddns_cb->transaction);
data/isc-dhcp-4.4.1/common/dns.c:3058: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(ddns_address, piaddr(ddns_cb->address));
data/isc-dhcp-4.4.1/common/dns.c:3061:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(s, " %s %s for %.*s", en, ddns_address,
data/isc-dhcp-4.4.1/common/dns.c:3074:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(s, " %s %.*s for %.*s", en,
data/isc-dhcp-4.4.1/common/dns.c:3088:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(s, "%s", en);
data/isc-dhcp-4.4.1/common/dns.c:3098:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(s, "%s%s", en, ddns_cb->zone_name);
data/isc-dhcp-4.4.1/common/dns.c:3139:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(s, "%s%ld", en, ddns_cb->ttl);
data/isc-dhcp-4.4.1/common/dns.c:3148:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(s, "%s%s", en, result_str);
data/isc-dhcp-4.4.1/common/execute.c:210:33:  [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(argv[0], r->data.execute.command);
data/isc-dhcp-4.4.1/common/execute.c:254:18:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		               execvp(argv[0], argv);
data/isc-dhcp-4.4.1/common/execute.c:368:6:  [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(binding->name, r->data.set.name);
data/isc-dhcp-4.4.1/common/execute.c:454:6:  [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(binding->name,
data/isc-dhcp-4.4.1/common/inet.c:595:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(ret, "%s/%d", piaddr(*addr), bits);
data/isc-dhcp-4.4.1/common/lpf.c:540:2:  [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(tmp.ifr_name, name);
data/isc-dhcp-4.4.1/common/options.c:2148:5:  [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 (op, enumbuf [j] -> values [i].name);
data/isc-dhcp-4.4.1/common/options.c:2159:5:  [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(op, piaddr(iaddr));
data/isc-dhcp-4.4.1/common/options.c:2165:5:  [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(op, piaddr(iaddr));
data/isc-dhcp-4.4.1/common/options.c:2175:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf (op, "%s", "infinite");
data/isc-dhcp-4.4.1/common/options.c:2203:5:  [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 (op, *dp++ ? "true" : "false");
data/isc-dhcp-4.4.1/common/parse.c:218: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 (s, val);
data/isc-dhcp-4.4.1/common/parse.c:776: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 ((char *)t, val);
data/isc-dhcp-4.4.1/common/parse.c:1200:2:  [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 (uname, val);
data/isc-dhcp-4.4.1/common/parse.c:1340:2:  [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 (nu_name, val);
data/isc-dhcp-4.4.1/common/parse.c:1726: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 (&tokbuf [tokix], val);
data/isc-dhcp-4.4.1/common/parse.c:2334: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 ((*result) -> data.set.name, val);
data/isc-dhcp-4.4.1/common/parse.c:2361:5:  [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 (new -> string, val);
data/isc-dhcp-4.4.1/common/parse.c:2454: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 ((*result) -> data.unset, val);
data/isc-dhcp-4.4.1/common/parse.c:2513: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((*result)->data.execute.command, val);
data/isc-dhcp-4.4.1/common/parse.c:2687: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 (s, zone -> name);
data/isc-dhcp-4.4.1/common/parse.c:2978: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 (key -> name, val);
data/isc-dhcp-4.4.1/common/parse.c:3025:8:  [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 (s, key -> algorithm);
data/isc-dhcp-4.4.1/common/parse.c:3026:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			    strcat (s, add);
data/isc-dhcp-4.4.1/common/parse.c:3037:8:  [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 (s, key -> algorithm);
data/isc-dhcp-4.4.1/common/parse.c:4324: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 ((*expr) -> data.variable, val);
data/isc-dhcp-4.4.1/common/parse.c:4409: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 (cptr, val);
data/isc-dhcp-4.4.1/common/parse.c:5581:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf (mbuf, sizeof mbuf, fbuf, list);
data/isc-dhcp-4.4.1/common/print.c:568:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (buf, "(check %s)",
data/isc-dhcp-4.4.1/common/print.c:714:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (buf, "(dns-lookup %s)",
data/isc-dhcp-4.4.1/common/print.c:726: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 (&buf [1], s);
data/isc-dhcp-4.4.1/common/print.c:798:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (buf, "(option %s.%s)",
data/isc-dhcp-4.4.1/common/print.c:925: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 (buf, s);
data/isc-dhcp-4.4.1/common/print.c:934:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (buf, "(exists %s.%s)",
data/isc-dhcp-4.4.1/common/print.c:944:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (buf, "(defined %s)", expr -> data.variable);
data/isc-dhcp-4.4.1/common/print.c:952:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (buf, "%s", expr -> data.variable);
data/isc-dhcp-4.4.1/common/print.c:962: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 (buf, s);
data/isc-dhcp-4.4.1/common/print.c:1068: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 (buf + 1, s);
data/isc-dhcp-4.4.1/common/print.c:1073:5:  [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 [rv], s);
data/isc-dhcp-4.4.1/common/print.c:1080:5:  [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 [rv], s);
data/isc-dhcp-4.4.1/common/print.c:1114: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 (buf + 9, expr -> data.funcall.name);
data/isc-dhcp-4.4.1/common/print.c:1146:6:  [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 [rv], foo -> string);
data/isc-dhcp-4.4.1/common/print.c:1207: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 (u, s);
data/isc-dhcp-4.4.1/common/tree.c:89:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf_ret = vsnprintf((char *)ds->data+cur_strlen, max, fmt, args);
data/isc-dhcp-4.4.1/common/tree.c:122:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
		vsprintf((char *)tmp_buffer->data + cur_strlen, fmt, args);
data/isc-dhcp-4.4.1/common/tree.c:390:2:  [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 ((*result) -> data.let.name, name);
data/isc-dhcp-4.4.1/common/tree.c:580:6:  [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 (nb -> name, s -> string);
data/isc-dhcp-4.4.1/common/tree.c:1889: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 ((char *)&result -> buffer -> data [0],
data/isc-dhcp-4.4.1/common/tree.c:4070: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 (binding -> name, name);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:261:16:  [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, val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:273:8:  [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 (s, val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:285:8:  [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 (s, val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:297:8:  [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 (s, val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:313:7:  [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 (s, val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:341:7:  [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 (s, val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:369:8:  [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 (s, val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:528:8:  [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, val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:566:8:  [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, val);
data/isc-dhcp-4.4.1/dhcpctl/remote.c:61:2:  [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 (key -> name, name);
data/isc-dhcp-4.4.1/dhcpctl/remote.c:73: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 (key -> algorithm, algorithm);
data/isc-dhcp-4.4.1/dhcpctl/remote.c:74:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat (key -> algorithm, add);
data/isc-dhcp-4.4.1/dhcpctl/remote.c:81: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 (key -> algorithm, algorithm);
data/isc-dhcp-4.4.1/includes/osdep.h:89:10:  [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.
# define snprintf  isc_print_snprintf
data/isc-dhcp-4.4.1/includes/osdep.h:90:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define vsnprintf isc_print_vsnprintf
data/isc-dhcp-4.4.1/omapip/errwarn.c:63:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf (mbuf, sizeof mbuf, fbuf, list);
data/isc-dhcp-4.4.1/omapip/errwarn.c:102:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf (mbuf, sizeof mbuf, fbuf, list);
data/isc-dhcp-4.4.1/omapip/errwarn.c:129:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf (mbuf, sizeof mbuf, fbuf, list);
data/isc-dhcp-4.4.1/omapip/errwarn.c:156:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf (mbuf, sizeof mbuf, fbuf, list);
data/isc-dhcp-4.4.1/omapip/errwarn.c:196:5:  [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 (p - 1, m);
data/isc-dhcp-4.4.1/omapip/iscprint.c:42:8:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	ret = vsnprintf(str, size, format, ap);
data/isc-dhcp-4.4.1/omapip/iscprint.c:242:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf(buf, alt ? "%#o"
data/isc-dhcp-4.4.1/omapip/iscprint.c:482:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(fmt, "%%%s%s.%lu%s%c", alt ? "#" : "",
data/isc-dhcp-4.4.1/omapip/iscprint.c:494:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					sprintf(buf, fmt, ldbl);
data/isc-dhcp-4.4.1/omapip/iscprint.c:499:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					sprintf(buf, fmt, dbl);
data/isc-dhcp-4.4.1/omapip/trace.c:330:2:  [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 (ttmp -> name, name);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1477: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(ifp->name, ifname);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1548: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(ifp->name, ifname);
data/isc-dhcp-4.4.1/server/confpars.c:158:2:  [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 (dbuf, filename);
data/isc-dhcp-4.4.1/server/confpars.c:915: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 (name, val);
data/isc-dhcp-4.4.1/server/confpars.c:1230: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 (name, val);
data/isc-dhcp-4.4.1/server/confpars.c:2285: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 (name, tname);
data/isc-dhcp-4.4.1/server/confpars.c:2626: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 (name, val);
data/isc-dhcp-4.4.1/server/confpars.c:2984: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(name, val);
data/isc-dhcp-4.4.1/server/confpars.c:3566:8:  [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 (binding -> name, val);
data/isc-dhcp-4.4.1/server/confpars.c:4960:6:  [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(bnd->name, val);
data/isc-dhcp-4.4.1/server/confpars.c:5407:6:  [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(bnd->name, val);
data/isc-dhcp-4.4.1/server/confpars.c:5844:6:  [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(bnd->name, val);
data/isc-dhcp-4.4.1/server/ddns.c:1185: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(ddns_address, piaddr(ddns_cb->address));
data/isc-dhcp-4.4.1/server/ddns.c:1442:2:  [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(ddns_address, piaddr(ddns_cb->address));
data/isc-dhcp-4.4.1/server/ddns.c:1533:2:  [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(ddns_address, piaddr(ddns_cb->address));
data/isc-dhcp-4.4.1/server/ddns.c:1818: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(ddns_address, piaddr(ddns_cb->address));
data/isc-dhcp-4.4.1/server/ddns.c:2380:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (output_buf, "ddns_cb: %p flags: %x state: %s cur_func: %s",
data/isc-dhcp-4.4.1/server/dhcp.c:516:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (smbuf, " (%s)", piaddr (sip));
data/isc-dhcp-4.4.1/server/dhcpd.c:550: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 (tmp -> name, argv [i]);
data/isc-dhcp-4.4.1/server/dhcpd.c:1583: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 (ip -> shared_network -> name, fnn);
data/isc-dhcp-4.4.1/server/failover.c:3999:6:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	if (vsnprintf (tbuf, sizeof tbuf, fmt, va) >= sizeof tbuf)
data/isc-dhcp-4.4.1/server/failover.c:5913:2:  [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 (&obuf [*obufix], s);
data/isc-dhcp-4.4.1/server/ldap.c:1563:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(uri, "ldap://%s:%d", ldap_server, ldap_port);
data/isc-dhcp-4.4.1/server/ldap.c:2167: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 (ret, name[0]->bv_val);
data/isc-dhcp-4.4.1/server/ldap.c:2406:13:  [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 (curr->dn, tempbv[cnt]->bv_val);
data/isc-dhcp-4.4.1/server/mdb.c:780: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 (netbuf, piaddr (subnet -> net));
data/isc-dhcp-4.4.1/server/mdb.c:803: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(lowbuf, piaddr(low));
data/isc-dhcp-4.4.1/server/mdb.c:804: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(netbuf, piaddr(subnet->net));
data/isc-dhcp-4.4.1/server/mdb.c:810: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(highbuf, piaddr(high));
data/isc-dhcp-4.4.1/server/mdb.c:811: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(netbuf, piaddr(subnet->net));
data/isc-dhcp-4.4.1/server/mdb.c:843: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 (lowbuf, piaddr (low));
data/isc-dhcp-4.4.1/server/mdb.c:844: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 (highbuf, piaddr (high));
data/isc-dhcp-4.4.1/server/mdb.c:851: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 (lowbuf, piaddr (low));
data/isc-dhcp-4.4.1/server/mdb.c:852: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 (highbuf, piaddr (high));
data/isc-dhcp-4.4.1/server/mdb.c:973: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(n1buf, piaddr(subnet->net));
data/isc-dhcp-4.4.1/server/mdb.c:1070: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 (ip -> name, name);
data/isc-dhcp-4.4.1/server/mdb.c:1693: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 (lt -> client_hostname, lease -> client_hostname);
data/isc-dhcp-4.4.1/server/omapi.c:1242: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 (host -> name, hnbuf);
data/isc-dhcp-4.4.1/tests/t_api.c:382:8:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	(void)vsnprintf(T_buf, sizeof(T_buf), what, args);
data/isc-dhcp-4.4.1/tests/t_api.c:394:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	(void) vsnprintf(T_buf, sizeof(T_buf), format, args);
data/isc-dhcp-4.4.1/client/dhc6.c:300:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	rval = random();
data/isc-dhcp-4.4.1/client/dhc6.c:322:8:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	xid = random();
data/isc-dhcp-4.4.1/client/dhc6.c:324:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	xid = (random() << 16) ^ random();
data/isc-dhcp-4.4.1/client/dhc6.c:324:27:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	xid = (random() << 16) ^ random();
data/isc-dhcp-4.4.1/client/dhc6.c:326:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	xid = (random() << 16) ^ (random() << 8) ^ random();
data/isc-dhcp-4.4.1/client/dhc6.c:326:28:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	xid = (random() << 16) ^ (random() << 8) ^ random();
data/isc-dhcp-4.4.1/client/dhc6.c:326:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	xid = (random() << 16) ^ (random() << 8) ^ random();
data/isc-dhcp-4.4.1/client/dhc6.c:1506:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	tv.tv_usec += (random() % (SOL_MAX_DELAY * 100)) * 10000;
data/isc-dhcp-4.4.1/client/dhc6.c:1550:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	tv.tv_usec += (random() % (INF_MAX_DELAY * 100)) * 10000;
data/isc-dhcp-4.4.1/client/dhc6.c:1601:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	tv.tv_usec += (random() % (CNF_MAX_DELAY * 100)) * 10000;
data/isc-dhcp-4.4.1/client/dhclient.c:608:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (!no_dhclient_conf && (s = getenv("PATH_DHCLIENT_CONF"))) {
data/isc-dhcp-4.4.1/client/dhclient.c:611:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (!no_dhclient_db && (s = getenv("PATH_DHCLIENT_DB"))) {
data/isc-dhcp-4.4.1/client/dhclient.c:614:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (!no_dhclient_pid && (s = getenv("PATH_DHCLIENT_PID"))) {
data/isc-dhcp-4.4.1/client/dhclient.c:617:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (!no_dhclient_script && (s = getenv("PATH_DHCLIENT_SCRIPT"))) {
data/isc-dhcp-4.4.1/client/dhclient.c:839:2:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srandom(seed + cur_time + (unsigned)getpid());
data/isc-dhcp-4.4.1/client/dhclient.c:906:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
							+ random()
data/isc-dhcp-4.4.1/client/dhclient.c:909:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
						tv.tv_usec = random()
data/isc-dhcp-4.4.1/client/dhclient.c:1197:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	client -> xid = random ();
data/isc-dhcp-4.4.1/client/dhclient.c:1449:8:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				(((random() % client->new->renewal) + 3) / 4);
data/isc-dhcp-4.4.1/client/dhclient.c:1564:4:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			random() % 1000000 : cur_tv.tv_usec;
data/isc-dhcp-4.4.1/client/dhclient.c:2390:24:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			client->interval += random() % (2 * client->interval);
data/isc-dhcp-4.4.1/client/dhclient.c:2396:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				client->interval += (random() %
data/isc-dhcp-4.4.1/client/dhclient.c:2456:38:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	tv.tv_usec = client->interval > 1 ? random() % 1000000 : cur_tv.tv_usec;
data/isc-dhcp-4.4.1/client/dhclient.c:2509:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
						random() % 1000000 :
data/isc-dhcp-4.4.1/client/dhclient.c:2575:8:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		    (random() % client->config->retry_interval));
data/isc-dhcp-4.4.1/client/dhclient.c:2577:4:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			random() % 1000000 : cur_tv.tv_usec;
data/isc-dhcp-4.4.1/client/dhclient.c:2663:27:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		client -> interval += ((random () >> 2) %
data/isc-dhcp-4.4.1/client/dhclient.c:2673:28:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			client -> interval += ((random () >> 2) %
data/isc-dhcp-4.4.1/client/dhclient.c:2775:4:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			random() % 1000000 : cur_tv.tv_usec;
data/isc-dhcp-4.4.1/client/dhclient.c:3231:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	client -> packet.xid = random ();
data/isc-dhcp-4.4.1/client/dhclient.c:3442:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	client -> packet.xid = random ();
data/isc-dhcp-4.4.1/client/dhclient.c:4548:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	client -> xid = random ();
data/isc-dhcp-4.4.1/client/dhclient.c:5529:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	tv.tv_usec = random() % 1000000;
data/isc-dhcp-4.4.1/common/ctrace.c:294:2:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srandom (ntohl (*seed));
data/isc-dhcp-4.4.1/common/print.c:1462:21:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
                if (realpath(orgpath, buf) == NULL) {
data/isc-dhcp-4.4.1/common/socket.c:1266:3:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		srandom((long)gethrtime());
data/isc-dhcp-4.4.1/common/socket.c:1270:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			hw->hbuf[i] = random() % 256;
data/isc-dhcp-4.4.1/omapip/protocol.c:140:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	p -> next_xid = random ();
data/isc-dhcp-4.4.1/relay/dhcrelay.c:650:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			path_dhcrelay_pid = getenv("PATH_DHCRELAY_PID");
data/isc-dhcp-4.4.1/relay/dhcrelay.c:656:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			path_dhcrelay_pid = getenv("PATH_DHCRELAY6_PID");
data/isc-dhcp-4.4.1/server/dhcpd.c:241:7:  [3] (misc) chroot:
  chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22).
  Make sure the program immediately chdir("/"), closes file descriptors, and
  drops root privileges, and that all necessary files (and no more!) are in
  the new root.
  if (chroot(chroot_dir)) {
data/isc-dhcp-4.4.1/server/dhcpd.c:573:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (!have_dhcpd_conf && (s = getenv ("PATH_DHCPD_CONF"))) {
data/isc-dhcp-4.4.1/server/dhcpd.c:581:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                        if ((s = getenv ("PATH_DHCPD6_DB")))
data/isc-dhcp-4.4.1/server/dhcpd.c:587:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                        if ((s = getenv ("PATH_DHCPD6_PID")))
data/isc-dhcp-4.4.1/server/dhcpd.c:595:37:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	        if (!have_dhcpd_db && (s = getenv ("PATH_DHCPD_DB"))) {
data/isc-dhcp-4.4.1/server/dhcpd.c:599:38:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	        if (!have_dhcpd_pid && (s = getenv ("PATH_DHCPD_PID"))) {
data/isc-dhcp-4.4.1/server/dhcpd.c:681:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if ((s = getenv ("DHCPD_PORT"))) {
data/isc-dhcp-4.4.1/server/dhcpd.c:942:2:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srandom (seed + cur_time);
data/isc-dhcp-4.4.1/server/failover.c:2770:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	est1 += random() % 5;
data/isc-dhcp-4.4.1/server/leasechain.c:530:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		lp->sort_tiebreaker = random();
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:255:34:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        iaaddr = ia_na->iasubopt[random() % ia_na->num_iasubopt];
data/isc-dhcp-4.4.1/tests/t_api.c:58:31:  [3] (buffer) getopt:
  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.
#define isc_commandline_parse getopt
data/isc-dhcp-4.4.1/client/clparse.c:247: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 (config, &top_level_config,
data/isc-dhcp-4.4.1/client/clparse.c:265:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((file = open (name, O_RDONLY)) < 0)
data/isc-dhcp-4.4.1/client/clparse.c:305:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((file = open (path_dhclient_duid, O_RDONLY)) < 0)
data/isc-dhcp-4.4.1/client/clparse.c:341:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((file = open (path_dhclient_db, O_RDONLY)) < 0)
data/isc-dhcp-4.4.1/client/clparse.c:695:9:  [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).
		tmp = atoi (val);
data/isc-dhcp-4.4.1/client/clparse.c:1078: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 (client -> config, config, sizeof *config);
data/isc-dhcp-4.4.1/client/clparse.c:1355:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(new_duid.buffer->data, buf, len);
data/isc-dhcp-4.4.1/client/clparse.c:1635: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(ia->iaid, buf, 4);
data/isc-dhcp-4.4.1/client/clparse.c:1668: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).
				ia->starts = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:1679:17:  [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).
				ia->renew = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:1690: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).
				ia->rebind = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:1763: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(ia->iaid, buf, 4);
data/isc-dhcp-4.4.1/client/clparse.c:1796: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).
				ia->starts = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:1871: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(ia->iaid, buf, 4);
data/isc-dhcp-4.4.1/client/clparse.c:1904: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).
				ia->starts = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:1915:17:  [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).
				ia->renew = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:1926: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).
				ia->rebind = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:2023: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).
				addr->starts = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:2034:28:  [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).
				addr->preferred_life = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:2045:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				addr->max_life = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:2131: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).
				pref->starts = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:2142:28:  [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).
				pref->preferred_life = atoi(val);
data/isc-dhcp-4.4.1/client/clparse.c:2153:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				pref->max_life = atoi(val);
data/isc-dhcp-4.4.1/client/dhc6.c:599: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(lease->dhcpv6_transaction_id, packet->dhcpv6_transaction_id, 3);
data/isc-dhcp-4.4.1/client/dhc6.c:725: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(ia->iaid, ds.data, 4);
data/isc-dhcp-4.4.1/client/dhc6.c:851: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(ia->iaid, ds.data, 4);
data/isc-dhcp-4.4.1/client/dhc6.c:954: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(ia->iaid, ds.data, 4);
data/isc-dhcp-4.4.1/client/dhc6.c:1081: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(addr->address.iabuf, ds.data, 16);
data/isc-dhcp-4.4.1/client/dhc6.c:1199: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(pfx->address.iabuf, ds.data + 9, 16);
data/isc-dhcp-4.4.1/client/dhc6.c:1675: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(ds->buffer->data + 1, client->dhcpv6_transaction_id, 3);
data/isc-dhcp-4.4.1/client/dhc6.c:1739: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(ia->buffer->data,
data/isc-dhcp-4.4.1/client/dhc6.c:1973: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(addr.buffer->data,
data/isc-dhcp-4.4.1/client/dhc6.c:2049: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(addr.buffer->data,
data/isc-dhcp-4.4.1/client/dhc6.c:2138: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(addr.buffer->data + 9,
data/isc-dhcp-4.4.1/client/dhc6.c:3755: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(iads.buffer->data, ia->iaid, 4);
data/isc-dhcp-4.4.1/client/dhc6.c:3824: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(addrds.buffer->data, addr->address.iabuf, 16);
data/isc-dhcp-4.4.1/client/dhc6.c:3958: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(iads.buffer->data, ia->iaid, 4);
data/isc-dhcp-4.4.1/client/dhc6.c:3992: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(addrds.buffer->data, addr->address.iabuf, 16);
data/isc-dhcp-4.4.1/client/dhc6.c:4119: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(iads.buffer->data, ia->iaid, 4);
data/isc-dhcp-4.4.1/client/dhc6.c:4193: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(prefds.buffer->data + 9,
data/isc-dhcp-4.4.1/client/dhc6.c:5088: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(ds.buffer->data + 1, client->dhcpv6_transaction_id, 3);
data/isc-dhcp-4.4.1/client/dhc6.c:5255: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(&unicast.sin6_addr, ds.data, 16);
data/isc-dhcp-4.4.1/client/dhc6.c:5274: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(ds.buffer->data + 1, client->dhcpv6_transaction_id, 3);
data/isc-dhcp-4.4.1/client/dhc6.c:5836: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->data, tmpbuf->data, oro_len);
data/isc-dhcp-4.4.1/client/dhc6.c:5910: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 name[256];
data/isc-dhcp-4.4.1/client/dhc6.c:5933: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 zeros[16];
data/isc-dhcp-4.4.1/client/dhc6.c:5998: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(iads.buffer->data, ia->iaid, 4);
data/isc-dhcp-4.4.1/client/dhc6.c:6027: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(addrds.buffer->data, addr->address.iabuf, 16);
data/isc-dhcp-4.4.1/client/dhclient.c:252:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/client/dhclient.c:254:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/client/dhclient.c:256:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/client/dhclient.c:661:16:  [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).
		if ((pidfd = fopen(path_dhclient_pid, "r")) != NULL) {
data/isc-dhcp-4.4.1/client/dhclient.c:704: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(&giaddr, he->h_addr_list[0],
data/isc-dhcp-4.4.1/client/dhclient.c:722: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(&sockaddr_broadcast.sin_addr,
data/isc-dhcp-4.4.1/client/dhclient.c:834: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(&junk,
data/isc-dhcp-4.4.1/client/dhclient.c:1606: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 (client -> destination.iabuf, ds.data, 4);
data/isc-dhcp-4.4.1/client/dhclient.c:1676: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 addrbuf[4*16];
data/isc-dhcp-4.4.1/client/dhclient.c:1677: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 maskbuf[4*16];
data/isc-dhcp-4.4.1/client/dhclient.c:1711: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 addrbuf[4*16];
data/isc-dhcp-4.4.1/client/dhclient.c:1712: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 maskbuf[4*16];
data/isc-dhcp-4.4.1/client/dhclient.c:1760: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 addrbuf[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")];
data/isc-dhcp-4.4.1/client/dhclient.c:1892: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(ds.buffer->data, enc_opt_data.data, enc_opt_data.len);
data/isc-dhcp-4.4.1/client/dhclient.c:1893: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(ds.buffer->data + enc_opt_data.len,
data/isc-dhcp-4.4.1/client/dhclient.c:1927: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(from.iabuf, raw->data + (raw->len - 16), 16);
data/isc-dhcp-4.4.1/client/dhclient.c:2002: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 obuf [1024];
data/isc-dhcp-4.4.1/client/dhclient.c:2153: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(lease->address.iabuf, &packet->raw->yiaddr,
data/isc-dhcp-4.4.1/client/dhclient.c:2157: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(lease->next_srv_addr.iabuf, &packet->raw->siaddr,
data/isc-dhcp-4.4.1/client/dhclient.c:2220: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 (lease -> server_name,
data/isc-dhcp-4.4.1/client/dhclient.c:2239: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 (lease -> filename,
data/isc-dhcp-4.4.1/client/dhclient.c:2592: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 rip_buf[128];
data/isc-dhcp-4.4.1/client/dhclient.c:2691: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 (&destination.sin_addr.s_addr,
data/isc-dhcp-4.4.1/client/dhclient.c:2702: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 (&from, client -> active -> address.iabuf,
data/isc-dhcp-4.4.1/client/dhclient.c:2828: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 (&from, client -> active -> address.iabuf,
data/isc-dhcp-4.4.1/client/dhclient.c:2830: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 (&destination.sin_addr.s_addr,
data/isc-dhcp-4.4.1/client/dhclient.c:2950: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(ds.buffer->data + ofs, &client->packet, client->packet_length);
data/isc-dhcp-4.4.1/client/dhclient.c:3161: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(&client_identifier.buffer->data + 5 - hw_len,
data/isc-dhcp-4.4.1/client/dhclient.c:3166: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(&client_identifier.buffer->data+(1+4),
data/isc-dhcp-4.4.1/client/dhclient.c:3247: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 (client -> packet.chaddr,
data/isc-dhcp-4.4.1/client/dhclient.c:3313: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 (&client -> packet.ciaddr,
data/isc-dhcp-4.4.1/client/dhclient.c:3336: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 (client -> packet.chaddr,
data/isc-dhcp-4.4.1/client/dhclient.c:3395: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 (client -> packet.chaddr,
data/isc-dhcp-4.4.1/client/dhclient.c:3445: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 (&client -> packet.ciaddr,
data/isc-dhcp-4.4.1/client/dhclient.c:3452: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 (client -> packet.chaddr,
data/isc-dhcp-4.4.1/client/dhclient.c:3483: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).
	leaseFile = fopen (path_dhclient_db, "w");
data/isc-dhcp-4.4.1/client/dhclient.c:3647: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(duid->buffer->data + 8, ip->hw_address.hbuf + 1,
data/isc-dhcp-4.4.1/client/dhclient.c:3652: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(duid->buffer->data + 4, ip->hw_address.hbuf + 1,
data/isc-dhcp-4.4.1/client/dhclient.c:3678:15:  [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).
		leaseFile = fopen(path_dhclient_db, "w");
data/isc-dhcp-4.4.1/client/dhclient.c:3723:15:  [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).
		leaseFile = fopen(path_dhclient_db, "w");
data/isc-dhcp-4.4.1/client/dhclient.c:3882:15:  [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).
		leaseFile = fopen (path_dhclient_db, "w");
data/isc-dhcp-4.4.1/client/dhclient.c:3999: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 scriptName [256];
data/isc-dhcp-4.4.1/client/dhclient.c:4062:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char name [256];
data/isc-dhcp-4.4.1/client/dhclient.c:4152: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(netmask.iabuf, data.data, 4);
data/isc-dhcp-4.4.1/client/dhclient.c:4234: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 name[256];
data/isc-dhcp-4.4.1/client/dhclient.c:4263: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 *argv [2];
data/isc-dhcp-4.4.1/client/dhclient.c:4343: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 spbuf [1024];
data/isc-dhcp-4.4.1/client/dhclient.c:4461:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	(void) open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/client/dhclient.c:4462:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	(void) open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/client/dhclient.c:4463:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	(void) open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/client/dhclient.c:4481:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	pfdesc = open (path_dhclient_pid, O_CREAT | O_TRUNC | O_WRONLY, 0644);
data/isc-dhcp-4.4.1/client/dhclient.c:4567: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 (client -> destination.iabuf,
data/isc-dhcp-4.4.1/client/dhclient.c:5422: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[65536];
data/isc-dhcp-4.4.1/client/dhclient.c:5423: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 start_msg[5] = { 'S', 'T', 'A', 'R', 'T' };
data/isc-dhcp-4.4.1/client/dhclient.c:5424: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 stop_msg[4] = { 'S', 'T', 'O', 'P' };
data/isc-dhcp-4.4.1/client/dhclient.c:5425: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 poll_msg[4] = { 'P', 'O', 'L', 'L' };
data/isc-dhcp-4.4.1/client/dhclient.c:5461: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(raw.buffer->data, buf, cc);
data/isc-dhcp-4.4.1/client/dhclient.c:5493: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(raw.buffer->data, buf, cc);
data/isc-dhcp-4.4.1/client/dhclient.c:5513: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 msg[4] = { 'P', 'O', 'L', 'L' };
data/isc-dhcp-4.4.1/client/dhclient.c:5570: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 msg[5] = { 'S', 'T', 'A', 'R', 'T' };
data/isc-dhcp-4.4.1/client/dhclient.c:5623: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 msg[4] = { 'S', 'T', 'O', 'P' };
data/isc-dhcp-4.4.1/client/tests/duid_unittest.c:70: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 duid_fname[1024];
data/isc-dhcp-4.4.1/common/alloc.c:313: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(rval + 1, name, len);
data/isc-dhcp-4.4.1/common/alloc.c:1304: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(new_string->buffer->data, src, copy_len);
data/isc-dhcp-4.4.1/common/bpf.c:90: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 filename[50];
data/isc-dhcp-4.4.1/common/bpf.c:97:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		sock = open (filename, O_RDWR, 0);
data/isc-dhcp-4.4.1/common/bpf.c:330: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 (bpf_fddi_filter,
data/isc-dhcp-4.4.1/common/bpf.c:491: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(&hdr, &interface->rbuf[interface->rbuf_offset],
data/isc-dhcp-4.4.1/common/bpf.c:557: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, interface->rbuf + interface->rbuf_offset, paylen);
data/isc-dhcp-4.4.1/common/bpf.c:636:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);
data/isc-dhcp-4.4.1/common/bpf.c:644:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);
data/isc-dhcp-4.4.1/common/bpf.c:650:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);
data/isc-dhcp-4.4.1/common/comapi.c:150: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 (group -> name,
data/isc-dhcp-4.4.1/common/comapi.c:275:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char hnbuf [64];
data/isc-dhcp-4.4.1/common/comapi.c:276:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (hnbuf, "ng%08lx%08lx",
data/isc-dhcp-4.4.1/common/conflex.c:143: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(cfile->saved_state, cfile, sizeof(*cfile));
data/isc-dhcp-4.4.1/common/conflex.c:171: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(cfile, saved_state, sizeof(*cfile));
data/isc-dhcp-4.4.1/common/conflex.c:264:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char tb [2];
data/isc-dhcp-4.4.1/common/ctrace.c:38: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 (&tipkt.hw_address,
data/isc-dhcp-4.4.1/common/ctrace.c:41: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(&tipkt.primary_address,
data/isc-dhcp-4.4.1/common/ctrace.c:43: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 (tipkt.name, ip -> name, sizeof ip -> name);
data/isc-dhcp-4.4.1/common/ctrace.c:80: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 (&ip -> hw_address, &tipkt -> hw_address,
data/isc-dhcp-4.4.1/common/ctrace.c:94: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(ip->addresses, &tipkt->primary_address, sizeof(*ip->addresses));
data/isc-dhcp-4.4.1/common/ctrace.c:95: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 (ip -> name, tipkt -> name, sizeof ip -> name);
data/isc-dhcp-4.4.1/common/ctrace.c:103:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (ip -> ifp -> ifr_name, ip -> name, sizeof ip -> name);
data/isc-dhcp-4.4.1/common/ctrace.c:111: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 (addr.iabuf, &sin -> sin_addr.s_addr, addr.len);
data/isc-dhcp-4.4.1/common/ctrace.c:232: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 (tip.from.iabuf, &from, 4);
data/isc-dhcp-4.4.1/common/ctrace.c:234: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 (tip.to.iabuf, &to -> sin_addr, 4);
data/isc-dhcp-4.4.1/common/discover.c:237: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 name[IF_NAMESIZE+1];	/* name of the interface, e.g. "bge0" */
data/isc-dhcp-4.4.1/common/discover.c:346: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(&info->addr, &p->lifr_addr, sizeof(p->lifr_addr));
data/isc-dhcp-4.4.1/common/discover.c:411: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 name[IFNAMSIZ];		/* name of the interface, e.g. "bge0" */
data/isc-dhcp-4.4.1/common/discover.c:468: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(&info->addr, ifaces->next->ifa_addr, sa_len);
data/isc-dhcp-4.4.1/common/discover.c:513: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(tmp, 
data/isc-dhcp-4.4.1/common/discover.c:551: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(tmp, 
data/isc-dhcp-4.4.1/common/discover.c:577:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char abuf[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/common/discover.c:677: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(addr.iabuf, &a->sin_addr.s_addr, addr.len);
data/isc-dhcp-4.4.1/common/discover.c:705: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(addr.iabuf, &a->sin6_addr, addr.len);
data/isc-dhcp-4.4.1/common/discover.c:819:6:  [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(abuf, "no IPv6 addresses");
data/isc-dhcp-4.4.1/common/discover.c:869: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(subnet->interface_address.iabuf,
data/isc-dhcp-4.4.1/common/discover.c:873: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(subnet->interface_address.iabuf,
data/isc-dhcp-4.4.1/common/discover.c:1060: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 (fallback_interface -> name, "fallback");
data/isc-dhcp-4.4.1/common/discover.c:1094: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 packbuf [4095]; /* Packet input buffer.
data/isc-dhcp-4.4.1/common/discover.c:1147: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 (ifrom.iabuf, &from.sin_addr, ifrom.len);
data/isc-dhcp-4.4.1/common/discover.c:1167: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[65536];	/* maximum size for a UDP packet is 65536 */
data/isc-dhcp-4.4.1/common/discover.c:1199: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(ifrom.iabuf, &from.sin6_addr, ifrom.len);
data/isc-dhcp-4.4.1/common/discover.c:1234: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 (interface -> name,
data/isc-dhcp-4.4.1/common/discover.c:1550:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (vec, interface_vector,
data/isc-dhcp-4.4.1/common/dlpi.c:248:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (info -> dlpi_broadcast_addr.hbuf, 
data/isc-dhcp-4.4.1/common/dlpi.c:285: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 (&info -> hw_address.hbuf [1],
data/isc-dhcp-4.4.1/common/dlpi.c:543:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char dstaddr [DLPI_MAXDLADDR];
data/isc-dhcp-4.4.1/common/dlpi.c:562: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 (dbuf + fudge, (unsigned char *)hh, dbuflen);
data/isc-dhcp-4.4.1/common/dlpi.c:570: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 (dbuf + dbuflen, raw, len);
data/isc-dhcp-4.4.1/common/dlpi.c:587:20:  [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 phys [DLPI_MAXDLADDR];
data/isc-dhcp-4.4.1/common/dlpi.c:588:20:  [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 sap [4];
data/isc-dhcp-4.4.1/common/dlpi.c:603:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
             memcpy ( phys, (char *) &hto -> hbuf [1], phys_len);
data/isc-dhcp-4.4.1/common/dlpi.c:605:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
             memcpy ( phys, interface -> dlpi_broadcast_addr.hbuf, 
data/isc-dhcp-4.4.1/common/dlpi.c:609:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
             memcpy ( dstaddr, phys, phys_len);
data/isc-dhcp-4.4.1/common/dlpi.c:610:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
             memcpy ( (char *) &dstaddr [phys_len], sap, ABS (sap_len));
data/isc-dhcp-4.4.1/common/dlpi.c:613:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
             memcpy ( dstaddr, (void *) sap, sap_len);
data/isc-dhcp-4.4.1/common/dlpi.c:614:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
             memcpy ( (char *) &dstaddr [sap_len], phys, phys_len);
data/isc-dhcp-4.4.1/common/dlpi.c:636:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char dbuf [1536];
data/isc-dhcp-4.4.1/common/dlpi.c:637:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char srcaddr [DLPI_MAXDLADDR];
data/isc-dhcp-4.4.1/common/dlpi.c:674:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy ((char *) &hfrom -> hbuf [1], srcaddr, phys_len);
data/isc-dhcp-4.4.1/common/dlpi.c:677:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy((char *)&hfrom->hbuf[1], srcaddr + sap_len, phys_len);
data/isc-dhcp-4.4.1/common/dlpi.c:724: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, &dbuf [bufix], paylen);
data/isc-dhcp-4.4.1/common/dlpi.c:785: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 devname [50];
data/isc-dhcp-4.4.1/common/dlpi.c:798: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 (devname, DLPI_DEVDIR, strlen (DLPI_DEVDIR));
data/isc-dhcp-4.4.1/common/dlpi.c:820:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	return open (devname, O_RDWR, 0);
data/isc-dhcp-4.4.1/common/dlpi.c:1131:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy ((char *)buf + dlp -> unitdata_req.dl_dest_addr_offset,
data/isc-dhcp-4.4.1/common/dlpi.c:1193: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 (saddr,
data/isc-dhcp-4.4.1/common/dlpi.c:1203: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 (daddr,
data/isc-dhcp-4.4.1/common/dlpi.c:1414: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(hw->hbuf+1, 
data/isc-dhcp-4.4.1/common/dlpi.c:1419: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(hw->hbuf+1, 
data/isc-dhcp-4.4.1/common/dns.c:317: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  old_pointer[TRACE_PTR_LEN];
data/isc-dhcp-4.4.1/common/dns.c:339: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 old_pointer[TRACE_PTR_LEN];
data/isc-dhcp-4.4.1/common/dns.c:343:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(old_pointer, &ddns_cb, sizeof(ddns_cb));
data/isc-dhcp-4.4.1/common/dns.c:363: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 old_pointer[TRACE_PTR_LEN];
data/isc-dhcp-4.4.1/common/dns.c:374:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(old_pointer, buf + sizeof(old_result), TRACE_PTR_LEN);
data/isc-dhcp-4.4.1/common/dns.c:445: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 old_pointer[TRACE_PTR_LEN];
data/isc-dhcp-4.4.1/common/dns.c:466: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(old_pointer, inbuf + sizeof(old_result), TRACE_PTR_LEN);
data/isc-dhcp-4.4.1/common/dns.c:493: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(ddns_map_ptr->old_pointer, old_pointer, TRACE_PTR_LEN);
data/isc-dhcp-4.4.1/common/dns.c:509: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(old_pointer, &arg, sizeof(arg));
data/isc-dhcp-4.4.1/common/dns.c:769: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(&ns_cb->addrs[ns_cb->num_addrs], &a.in_addr, 4);
data/isc-dhcp-4.4.1/common/dns.c:775: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(&ns_cb->addrs6[ns_cb->num_addrs6], &aaaa.in6_addr, 16);
data/isc-dhcp-4.4.1/common/dns.c:1266: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(&zone_addr, &nsaddrs.data[ip], 4);
data/isc-dhcp-4.4.1/common/dns.c:1288: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(&zone_addr6, &nsaddrs.data[ip], 16);
data/isc-dhcp-4.4.1/common/dns.c:1310: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(&zone_addr, &nsaddrs.data[ip], 4);
data/isc-dhcp-4.4.1/common/dns.c:1332: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(&zone_addr6, &nsaddrs.data[ip], 16);
data/isc-dhcp-4.4.1/common/dns.c:1422: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(zone->primary->data.buffer->data, ns_cb->addrs, len);
data/isc-dhcp-4.4.1/common/dns.c:1436: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(zone->primary6->data.buffer->data, ns_cb->addrs6, len);
data/isc-dhcp-4.4.1/common/dns.c:1481:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[ISC_SHA256_DIGESTLENGTH];
data/isc-dhcp-4.4.1/common/dns.c:1482:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char fwd_buf[256];
data/isc-dhcp-4.4.1/common/dns.c:1515: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(id->buffer->data + 3, &buf, ISC_SHA256_DIGESTLENGTH);
data/isc-dhcp-4.4.1/common/dns.c:1549:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[ISC_MD5_DIGESTLENGTH];
data/isc-dhcp-4.4.1/common/dns.c:1644: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(dhcid->buffer->data + 1, leaseid->data, leaseid->len);
data/isc-dhcp-4.4.1/common/dns.c:1720: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 buf1[512];
data/isc-dhcp-4.4.1/common/dns.c:1721: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 buf2[512];
data/isc-dhcp-4.4.1/common/dns.c:2752:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[256];
data/isc-dhcp-4.4.1/common/dns.c:3023: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 obuf[1024];
data/isc-dhcp-4.4.1/common/dns.c:3027: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 ddns_address[
data/isc-dhcp-4.4.1/common/ethernet.c:47: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 (eh.ether_dhost, &to -> hbuf [1],
data/isc-dhcp-4.4.1/common/ethernet.c:59: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 [*bufix], &eh, ETHER_HEADER_SIZE);
data/isc-dhcp-4.4.1/common/ethernet.c:75: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 (&eh, buf + bufix, ETHER_HEADER_SIZE);
data/isc-dhcp-4.4.1/common/ethernet.c:81: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 (&from -> hbuf [1], eh.ether_shost, sizeof (eh.ether_shost));
data/isc-dhcp-4.4.1/common/execute.c:228:49:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                                                memcpy(argv[i], ds.data,
data/isc-dhcp-4.4.1/common/fddi.c:57: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 [*bufix], &fh, sizeof fh);
data/isc-dhcp-4.4.1/common/fddi.c:64:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&buf [*bufix], &lh, LLC_SNAP_LEN);
data/isc-dhcp-4.4.1/common/fddi.c:82: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 (&from -> hbuf [1], fh.fddi_shost, sizeof fh.fddi_shost);
data/isc-dhcp-4.4.1/common/icmp.c:149: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 (&to.sin_addr, addr -> iabuf, sizeof to.sin_addr); /* XXX */
data/isc-dhcp-4.4.1/common/icmp.c:249: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 (ia.iabuf, &from.sin_addr, sizeof from.sin_addr);
data/isc-dhcp-4.4.1/common/icmp.c:293: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 (ia.iabuf, buf, 4);
data/isc-dhcp-4.4.1/common/inet.c:71:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char habuf [sizeof swaddr];
data/isc-dhcp-4.4.1/common/inet.c:80: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 (habuf, &swaddr, sizeof swaddr);
data/isc-dhcp-4.4.1/common/inet.c:160: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 (&swaddr, &rv.iabuf [rv.len - sizeof swaddr], sizeof swaddr);
data/isc-dhcp-4.4.1/common/inet.c:526:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char
data/isc-dhcp-4.4.1/common/inet.c:584:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char
data/isc-dhcp-4.4.1/common/inet.c:661: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(addr.iabuf, src->s6_addr, 16);
data/isc-dhcp-4.4.1/common/lpf.c:359: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 + fudge, (unsigned char *)hh, hbufp);
data/isc-dhcp-4.4.1/common/lpf.c:364:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (buf + ibufp, raw, len);
data/isc-dhcp-4.4.1/common/lpf.c:383:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char ibuf [1536];
data/isc-dhcp-4.4.1/common/lpf.c:395:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char cmsgbuf[CMSG_LEN(sizeof(struct tpacket_auxdata))];
data/isc-dhcp-4.4.1/common/lpf.c:484: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, &ibuf[bufix], paylen);
data/isc-dhcp-4.4.1/common/lpf.c:551: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(&hw->hbuf[1], sa->sa_data, 6);
data/isc-dhcp-4.4.1/common/lpf.c:559: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(&hw->hbuf[1], sa->sa_data, 6);
data/isc-dhcp-4.4.1/common/lpf.c:564: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(&hw->hbuf[1], sa->sa_data, 6);
data/isc-dhcp-4.4.1/common/nit.c:73: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 filename[50];
data/isc-dhcp-4.4.1/common/nit.c:78:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	sock = open ("/dev/nit", O_RDWR);
data/isc-dhcp-4.4.1/common/nit.c:103:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&info -> hw_address.hbuf [1],
data/isc-dhcp-4.4.1/common/nit.c:315: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 + ibufp, raw, len);
data/isc-dhcp-4.4.1/common/nit.c:347:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char ibuf [1536];
data/isc-dhcp-4.4.1/common/nit.c:383: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, &ibuf[bufix], paylen);
data/isc-dhcp-4.4.1/common/ns_name.c:324: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(dstp, srcp, n);
data/isc-dhcp-4.4.1/common/ns_name.c:450: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(dstp, srcp, n + 1);
data/isc-dhcp-4.4.1/common/ns_name.c:750: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 cur_name[NS_MAXCDNAME];
data/isc-dhcp-4.4.1/common/ns_name.c:751:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const unsigned char *dnptrs[256], **lastdnptr;
data/isc-dhcp-4.4.1/common/ns_name.c:772: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(cur_name, src, copylen);
data/isc-dhcp-4.4.1/common/options.c:134: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 (bp -> data, buffer, length);
data/isc-dhcp-4.4.1/common/options.c:240: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(new.buffer->data, op->data.data,
data/isc-dhcp-4.4.1/common/options.c:243: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(new.buffer->data + op->data.len,
data/isc-dhcp-4.4.1/common/options.c:376: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 (&bp -> data [3], buffer + 1, length - 1);
data/isc-dhcp-4.4.1/common/options.c:544:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buffer[4096], agentopts[1024];
data/isc-dhcp-4.4.1/common/options.c:807:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer, DHCP_OPTIONS_COOKIE, 4);
data/isc-dhcp-4.4.1/common/options.c:837: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(outpacket->file, &buffer[of1], DHCP_FILE_LEN);
data/isc-dhcp-4.4.1/common/options.c:840: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(outpacket->sname, &buffer[of2], DHCP_SNAME_LEN);
data/isc-dhcp-4.4.1/common/options.c:846: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(&buffer[index], agentopts, agent_size);
data/isc-dhcp-4.4.1/common/options.c:858: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(outpacket->options, buffer, index);
data/isc-dhcp-4.4.1/common/options.c:922: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(vs->buf + vs->bufpos, ds.data, ds.len);
data/isc-dhcp-4.4.1/common/options.c:964: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(tmp+4, ds->data, ds->len);
data/isc-dhcp-4.4.1/common/options.c:1110: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(&code, oro->data+(i*2), 2);
data/isc-dhcp-4.4.1/common/options.c:1467:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			    memcpy (&bp -> data [0], od.data, od.len);
data/isc-dhcp-4.4.1/common/options.c:1468:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			    memcpy (&bp -> data [od.len], encapsulation.data,
data/isc-dhcp-4.4.1/common/options.c:1566: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 (base + *pix + 2,
data/isc-dhcp-4.4.1/common/options.c:1570:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			    memcpy (base + *pix + 2,
data/isc-dhcp-4.4.1/common/options.c:1789:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char optbuf [MAX_OUTPUT_SIZE + 128]; /* XXX */
data/isc-dhcp-4.4.1/common/options.c:1798: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 fmtbuf[32] = "";
data/isc-dhcp-4.4.1/common/options.c:2040: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.
					unsigned char nbuff[NS_MAXCDNAME];
data/isc-dhcp-4.4.1/common/options.c:2153:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(op, "%lu", tval);
data/isc-dhcp-4.4.1/common/options.c:2158: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(iaddr.iabuf, dp, 4);
data/isc-dhcp-4.4.1/common/options.c:2164: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(iaddr.iabuf, dp, 16);
data/isc-dhcp-4.4.1/common/options.c:2169:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (op, "%ld", (long)getLong (dp));
data/isc-dhcp-4.4.1/common/options.c:2177:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
					sprintf(op, "%lu", tval);
data/isc-dhcp-4.4.1/common/options.c:2180:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(op, "%lu",
data/isc-dhcp-4.4.1/common/options.c:2185:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (op, "%d", (int)getShort (dp));
data/isc-dhcp-4.4.1/common/options.c:2189:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(op, "%u", (unsigned)getUShort(dp));
data/isc-dhcp-4.4.1/common/options.c:2193:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (op, "%d", *(const char *)dp++);
data/isc-dhcp-4.4.1/common/options.c:2196:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (op, "%d", *dp++);
data/isc-dhcp-4.4.1/common/options.c:2200:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (op, "%x", *dp++);
data/isc-dhcp-4.4.1/common/options.c:2206:5:  [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 (op, "true");
data/isc-dhcp-4.4.1/common/options.c:2546: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 nbuf[sizeof("unknown-4294967295")];
data/isc-dhcp-4.4.1/common/options.c:2548:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(nbuf, "unknown-%u", code);
data/isc-dhcp-4.4.1/common/options.c:2584: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 (lbp -> data, buffer, length + terminatep);
data/isc-dhcp-4.4.1/common/options.c:2985: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(tmp.buffer->data, dst->data, dst->len);
data/isc-dhcp-4.4.1/common/options.c:2995: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(tmp.buffer->data + tmp.len, src->data, src->len);
data/isc-dhcp-4.4.1/common/options.c:3276: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 (&ds.buffer -> data [2], result -> data, result -> len);
data/isc-dhcp-4.4.1/common/options.c:3314: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(out, src + i, len);
data/isc-dhcp-4.4.1/common/options.c:3429: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 (&bp -> data [3], results [FQDN_FQDN].data,
data/isc-dhcp-4.4.1/common/options.c:4131: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(&decoded_packet->dhcpv6_link_address,
data/isc-dhcp-4.4.1/common/options.c:4133: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(&decoded_packet->dhcpv6_peer_address,
data/isc-dhcp-4.4.1/common/options.c:4224:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(*dst, "\\%03o",
data/isc-dhcp-4.4.1/common/packet.c:164: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 [*bufix], &ip, sizeof ip);
data/isc-dhcp-4.4.1/common/packet.c:193: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 [*bufix], &udp, sizeof udp);
data/isc-dhcp-4.4.1/common/packet.c:360: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(&from->sin_addr, &ip.ip_src, 4);
data/isc-dhcp-4.4.1/common/packet.c:395: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 (&from -> sin_port, &udp.uh_sport, sizeof udp.uh_sport);
data/isc-dhcp-4.4.1/common/parse.c:175:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (s, val, len + 1);
data/isc-dhcp-4.4.1/common/parse.c:246: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 (t, (char *)(c -> car), l);
data/isc-dhcp-4.4.1/common/parse.c:275:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char addr [4];
data/isc-dhcp-4.4.1/common/parse.c:377: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 v6[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/common/parse.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(v6+v6_len, val, val_len);
data/isc-dhcp-4.4.1/common/parse.c:468:6:  [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).
	n = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:515:16:  [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).
			prefixlen = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:607:24:  [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).
			hardware->hbuf[0] = atoi(&val[8]);
data/isc-dhcp-4.4.1/common/parse.c:640: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((unsigned char *)&hardware->hbuf[1], t, hlen);
data/isc-dhcp-4.4.1/common/parse.c:973:11:  [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).
		guess = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1001:9:  [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).
	year = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1025:8:  [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).
	mon = atoi(val) - 1;
data/isc-dhcp-4.4.1/common/parse.c:1047:9:  [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).
	mday = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1058:9:  [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).
	hour = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1080:8:  [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).
	min = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1102:8:  [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).
	sec = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1108:11:  [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).
		tzoff = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1246:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		code = atoi(val+8);
data/isc-dhcp-4.4.1/common/parse.c:1362:12:  [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).
			tsize = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1399:12:  [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).
			lsize = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1424:12:  [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).
			hsize = atoi(val);
data/isc-dhcp-4.4.1/common/parse.c:1487: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 (ua, universes, universe_max * sizeof *ua);
data/isc-dhcp-4.4.1/common/parse.c:1547: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 tokbuf [128];
data/isc-dhcp-4.4.1/common/parse.c:1562:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	option -> code = atoi (val);
data/isc-dhcp-4.4.1/common/parse.c:1637:11:  [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).
		switch (atoi (val)) {
data/isc-dhcp-4.4.1/common/parse.c:1812:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(s, tokbuf, tokix);
data/isc-dhcp-4.4.1/common/parse.c:1899: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(t->string, val, l + 1);
data/isc-dhcp-4.4.1/common/parse.c:2032: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 (next -> data, ibuf, ilen);
data/isc-dhcp-4.4.1/common/parse.c:2055: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 (rvp, sl -> data, sizeof ibuf);
data/isc-dhcp-4.4.1/common/parse.c:2061: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 (rvp, ibuf, ilen);
data/isc-dhcp-4.4.1/common/parse.c:3058: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 (key -> key -> value,
data/isc-dhcp-4.4.1/common/parse.c:4103:11:  [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).
		switch (atoi (val)) {
data/isc-dhcp-4.4.1/common/parse.c:4118:40:  [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).
				    "unsupported integer size %d", atoi (val));
data/isc-dhcp-4.4.1/common/parse.c:4170:11:  [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).
		switch (atoi (val)) {
data/isc-dhcp-4.4.1/common/parse.c:4185:40:  [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).
				    "unsupported integer size %d", atoi (val));
data/isc-dhcp-4.4.1/common/parse.c:4210:32:  [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).
			(*expr) -> data.const_int = atoi (val);
data/isc-dhcp-4.4.1/common/parse.c:4951:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf [4];
data/isc-dhcp-4.4.1/common/parse.c:5306: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 (&hunkbuf [hunkix], val, len + 1);
data/isc-dhcp-4.4.1/common/parse.c:5337: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(&hunkbuf[hunkix], cdp, len);
data/isc-dhcp-4.4.1/common/parse.c:5389: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 (&hunkbuf [hunkix], dp, len);
data/isc-dhcp-4.4.1/common/parse.c:5491: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 (bp -> data, hunkbuf, hunkix + nul_term);
data/isc-dhcp-4.4.1/common/parse.c:5556: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, val, len + 1);
data/isc-dhcp-4.4.1/common/parse.c:5568: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 lexbuf [256];
data/isc-dhcp-4.4.1/common/parse.c:5569: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 mbuf [1024];
data/isc-dhcp-4.4.1/common/parse.c:5570: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 fbuf [1024];
data/isc-dhcp-4.4.1/common/parse.c:5627:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char compbuf[256 * NS_MAXCDNAME];
data/isc-dhcp-4.4.1/common/parse.c:5628:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const unsigned char *dnptrs[256], **lastdnptr;
data/isc-dhcp-4.4.1/common/print.c:57:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (nsp, "\\%03o",
data/isc-dhcp-4.4.1/common/print.c:104:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (nsp, "\\%03o", s [i]);
data/isc-dhcp-4.4.1/common/print.c:176:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char habuf [49];
data/isc-dhcp-4.4.1/common/print.c:185:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (s, "%02x", data [i]);
data/isc-dhcp-4.4.1/common/print.c:198: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 tbuf [32];
data/isc-dhcp-4.4.1/common/print.c:298: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 lbuf [80];
data/isc-dhcp-4.4.1/common/print.c:321:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		  sprintf (lbuf, "%03x:", i);
data/isc-dhcp-4.4.1/common/print.c:332:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (&lbuf [lbix], " %02x", buf [i]);
data/isc-dhcp-4.4.1/common/print.c:403:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(bufptr, "%02x", data[byte]);
data/isc-dhcp-4.4.1/common/print.c:440: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[1], data, i);
data/isc-dhcp-4.4.1/common/print.c:462:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char hex_buf_1[HBLEN + 1];
data/isc-dhcp-4.4.1/common/print.c:463:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char hex_buf_2[HBLEN + 1];
data/isc-dhcp-4.4.1/common/print.c:464:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char hex_buf_3[HBLEN + 1];
data/isc-dhcp-4.4.1/common/print.c:497:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char dq_buf [DQLEN + 1];
data/isc-dhcp-4.4.1/common/print.c:511:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (s, "%u.%u.%u.%u, ",
data/isc-dhcp-4.4.1/common/print.c:520:3:  [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 (s, "...");
data/isc-dhcp-4.4.1/common/print.c:527:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char vbuf [32];
data/isc-dhcp-4.4.1/common/print.c:528:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (vbuf, "%lu", val);
data/isc-dhcp-4.4.1/common/print.c:535:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char vbuf [32];
data/isc-dhcp-4.4.1/common/print.c:536:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (vbuf, "%lu", val);
data/isc-dhcp-4.4.1/common/print.c:553:4:  [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 (buf, "nil");
data/isc-dhcp-4.4.1/common/print.c:560:4:  [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 (buf, "(match)");
data/isc-dhcp-4.4.1/common/print.c:577:4:  [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 (buf, "(eq ");
data/isc-dhcp-4.4.1/common/print.c:592:4:  [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 (buf, "(neq ");
data/isc-dhcp-4.4.1/common/print.c:607:4:  [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(buf, "(regex ");
data/isc-dhcp-4.4.1/common/print.c:622:4:  [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 (buf, "(substr ");
data/isc-dhcp-4.4.1/common/print.c:641:4:  [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 (buf, "(suffix ");
data/isc-dhcp-4.4.1/common/print.c:658:4:  [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(buf, "(lcase ");
data/isc-dhcp-4.4.1/common/print.c:670:4:  [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(buf, "(ucase ");
data/isc-dhcp-4.4.1/common/print.c:682:4:  [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 (buf, "(concat ");
data/isc-dhcp-4.4.1/common/print.c:697:4:  [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 (buf, "(pick1st ");
data/isc-dhcp-4.4.1/common/print.c:779:4:  [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 (buf, "(not ");
data/isc-dhcp-4.4.1/common/print.c:807:4:  [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 (buf, "(hardware)");
data/isc-dhcp-4.4.1/common/print.c:815:4:  [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 (buf, "(substr ");
data/isc-dhcp-4.4.1/common/print.c:839:3:  [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 (buf, "(encapsulate ");
data/isc-dhcp-4.4.1/common/print.c:852:4:  [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 (buf, "(int8 ");
data/isc-dhcp-4.4.1/common/print.c:864:4:  [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 (buf, "(int16 ");
data/isc-dhcp-4.4.1/common/print.c:876:4:  [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 (buf, "(int32 ");
data/isc-dhcp-4.4.1/common/print.c:888:4:  [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 (buf, "(to-int8 ");
data/isc-dhcp-4.4.1/common/print.c:900:4:  [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 (buf, "(to-int16 ");
data/isc-dhcp-4.4.1/common/print.c:912:4:  [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 (buf, "(to-int32 ");
data/isc-dhcp-4.4.1/common/print.c:998:4:  [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 (buf, "(reverse ");
data/isc-dhcp-4.4.1/common/print.c:1013:4:  [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 (buf, "(b2a ");
data/isc-dhcp-4.4.1/common/print.c:1035:4:  [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 (&buf [1], "ns-update ");
data/isc-dhcp-4.4.1/common/print.c:1106:4:  [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 (buf, "(null)");
data/isc-dhcp-4.4.1/common/print.c:1113:4:  [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 (buf, "(funcall  ");
data/isc-dhcp-4.4.1/common/print.c:1141:4:  [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 (buf, "(function");
data/isc-dhcp-4.4.1/common/print.c:1158:4:  [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(buf, "(gethostname)");
data/isc-dhcp-4.4.1/common/print.c:1175:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf [1024];
data/isc-dhcp-4.4.1/common/print.c:1225: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 obuf [3];
data/isc-dhcp-4.4.1/common/print.c:1238: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 + 1, data -> data, data -> len);
data/isc-dhcp-4.4.1/common/print.c:1249:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (obuf, "%2.2x", data -> data [i]);
data/isc-dhcp-4.4.1/common/print.c:1314:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[sizeof("epoch 9223372036854775807; "
data/isc-dhcp-4.4.1/common/print.c:1316:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf1[sizeof("# Wed Jun 30 21:49:08 2147483647")];
data/isc-dhcp-4.4.1/common/print.c:1457: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[PATH_MAX];
data/isc-dhcp-4.4.1/common/print.c:1459: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[2048];
data/isc-dhcp-4.4.1/common/print.c:1475: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 (abspath, buf, strlen(buf));
data/isc-dhcp-4.4.1/common/raw.c:112:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf [256];
data/isc-dhcp-4.4.1/common/resolv.c:46:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((file = open (path_resolv_conf, O_RDONLY)) < 0) {
data/isc-dhcp-4.4.1/common/resolv.c:117: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 (&ns -> addr.sin_addr,
data/isc-dhcp-4.4.1/common/socket.c:522:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char addr6_str[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/common/socket.c:1019: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(hfrom->hbuf, &ifindex, sizeof(ifindex));
data/isc-dhcp-4.4.1/common/socket.c:1145: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 [1540];
data/isc-dhcp-4.4.1/common/socket.c:1302: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(hw->hbuf+1, LLADDR(dladdrp), hw->hlen-1);
data/isc-dhcp-4.4.1/common/tests/dns_unittest.c:75: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(id->buffer->data, name, namelen);
data/isc-dhcp-4.4.1/common/tests/misc_unittest.c:169:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[14];
data/isc-dhcp-4.4.1/common/tests/ns_name_test.c:46:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char compbuf[sizeof(comp_list)];
data/isc-dhcp-4.4.1/common/tests/ns_name_test.c:47: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 textbuf[sizeof(text_list)];
data/isc-dhcp-4.4.1/common/tests/ns_name_test.c:98: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(nonempty.buffer->data, data, nonempty.len);
data/isc-dhcp-4.4.1/common/tests/option_unittest.c:38:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[3] = { 15, 255, 0 };
data/isc-dhcp-4.4.1/common/tests/option_unittest.c:89:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char bad_data[32*1024];
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:243: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(a.buffer->data, str, a.len);
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:332: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(a.buffer->data, str, a.len);
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:521: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(&copy_string, &new_string, sizeof(new_string));
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:536: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(&copy_string, &new_string, sizeof(new_string));
data/isc-dhcp-4.4.1/common/tr.c:55:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char addr[TR_ALEN];
data/isc-dhcp-4.4.1/common/tr.c:56:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char iface[5];
data/isc-dhcp-4.4.1/common/tr.c:87:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (trh->daddr, &to -> hbuf [1], sizeof trh->daddr);
data/isc-dhcp-4.4.1/common/tr.c:112:17:  [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 unsigned char tr_broadcast[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
data/isc-dhcp-4.4.1/common/tr.c:251:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char saddr[TR_ALEN];
data/isc-dhcp-4.4.1/common/tr.c:288: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(rover->iface, interface->name, 5);
data/isc-dhcp-4.4.1/common/tree.c:118: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(tmp_buffer->data, ds->data, cur_strlen);
data/isc-dhcp-4.4.1/common/tree.c:183: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 (&bp -> data [0], data, len);
data/isc-dhcp-4.4.1/common/tree.c:241: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 (nt -> data.const_data.buffer -> data,
data/isc-dhcp-4.4.1/common/tree.c:479:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (&dns -> data.buffer -> data [h -> h_length * i],
data/isc-dhcp-4.4.1/common/tree.c:1254:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(result->buffer->data, data.data,
data/isc-dhcp-4.4.1/common/tree.c:1290:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(result->buffer->data, data.data,
data/isc-dhcp-4.4.1/common/tree.c:1382:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(&result->buffer->data[1],
data/isc-dhcp-4.4.1/common/tree.c:1394:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(result->buffer->data,
data/isc-dhcp-4.4.1/common/tree.c:1440:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (result -> buffer -> data,
data/isc-dhcp-4.4.1/common/tree.c:1526: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 (result -> buffer -> data, data.data, data.len);
data/isc-dhcp-4.4.1/common/tree.c:1527: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 (&result -> buffer -> data [data.len],
data/isc-dhcp-4.4.1/common/tree.c:1734: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 (&result ->
data/isc-dhcp-4.4.1/common/tree.c:1803:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (&result -> buffer -> data [i],
data/isc-dhcp-4.4.1/common/tree.c:1835: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 (&result -> buffer -> data [0],
data/isc-dhcp-4.4.1/common/tree.c:1971:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (&result -> buffer -> data [0],
data/isc-dhcp-4.4.1/common/tree.c:2003:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (&result -> buffer -> data [0],
data/isc-dhcp-4.4.1/common/tree.c:3307: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 obuf [65];
data/isc-dhcp-4.4.1/common/tree.c:3531:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (obuf, "%d", width);
data/isc-dhcp-4.4.1/common/tree.c:3554:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (obuf, "%d", width);
data/isc-dhcp-4.4.1/common/tree.c:3569:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (obuf, "%lu", expr -> data.const_int);
data/isc-dhcp-4.4.1/common/tree.c:4124: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 (value -> buffer -> data,
data/isc-dhcp-4.4.1/common/tree.c:4181: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 uncompbuf[32*NS_MAXCDNAME];
data/isc-dhcp-4.4.1/common/upf.c:65: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 filename[50];
data/isc-dhcp-4.4.1/common/upf.c:72:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(filename, "/dev/pf/pfilt%d", b);
data/isc-dhcp-4.4.1/common/upf.c:74:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		sock = open (filename, O_RDWR, 0);
data/isc-dhcp-4.4.1/common/upf.c:107:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&info -> hw_address.hbuf [1], param.end_addr, 6);
data/isc-dhcp-4.4.1/common/upf.c:296:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char ibuf [1500 + sizeof (struct enstamp)];
data/isc-dhcp-4.4.1/common/upf.c:333: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, &ibuf[bufix], paylen);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:204:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy ((*result) -> value, &ip, sizeof ip);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:209:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy ((*result) -> value,
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:216:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy ((*result) -> value, &ip, sizeof ip);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:243: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 (&rv, data -> value, sizeof rv);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:265: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 (name -> value, value_name, strlen (value_name));
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:273: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 (tv -> u.buffer.value, value -> value, value -> len);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:298: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 (name -> value, value_name, strlen (value_name));
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:332: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 (name -> value, value_name, ll);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:340: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 (tv -> u.buffer.value, value, len);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:363: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 (name -> value, value_name, ll);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:386:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (name -> value, value_name, strlen (value_name));
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:415: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 (name -> value, value_name, strlen (value_name));
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:99:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:100: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 s1[1024];
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:102: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 hex_buf[1025];
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:234: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).
			    port = atoi (val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:537:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				    int intval = atoi (val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:560:35:  [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).
			    dhcpctl_set_int_value (oh, atoi (buf), s1);
data/isc-dhcp-4.4.1/dhcpctl/remote.c:89:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (key -> key -> value, secret, secret_len);
data/isc-dhcp-4.4.1/includes/arpa/nameser.h:136: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		name[NS_MAXDNAME];
data/isc-dhcp-4.4.1/includes/ctrace.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 name [IFNAMSIZ];
data/isc-dhcp-4.4.1/includes/dhcp.h:59:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char chaddr [16];	/* 24: Client hardware address */
data/isc-dhcp-4.4.1/includes/dhcp.h:60: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 sname [DHCP_SNAME_LEN];	/* 40: Server name */
data/isc-dhcp-4.4.1/includes/dhcp.h:61: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 file [DHCP_FILE_LEN];	/* 104: Boot filename */
data/isc-dhcp-4.4.1/includes/dhcp.h:62:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char options [DHCP_MAX_OPTION_LEN];
data/isc-dhcp-4.4.1/includes/dhcp6.h:229:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char transaction_id[3];
data/isc-dhcp-4.4.1/includes/dhcp6.h:230:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char options[FLEXIBLE_ARRAY_MEMBER];
data/isc-dhcp-4.4.1/includes/dhcp6.h:242:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char link_address[16];
data/isc-dhcp-4.4.1/includes/dhcp6.h:243:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char peer_address[16];
data/isc-dhcp-4.4.1/includes/dhcp6.h:244:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char options[FLEXIBLE_ARRAY_MEMBER];
data/isc-dhcp-4.4.1/includes/dhcp6.h:253:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char flags[3];
data/isc-dhcp-4.4.1/includes/dhcp6.h:254:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char options[FLEXIBLE_ARRAY_MEMBER];
data/isc-dhcp-4.4.1/includes/dhcpd.h:318: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 line1 [81];
data/isc-dhcp-4.4.1/includes/dhcpd.h:319: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 line2 [81];
data/isc-dhcp-4.4.1/includes/dhcpd.h:328: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 tokbuf [1500];
data/isc-dhcp-4.4.1/includes/dhcpd.h:353: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 string [1];
data/isc-dhcp-4.4.1/includes/dhcpd.h:418:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char dhcpv6_transaction_id[3];
data/isc-dhcp-4.4.1/includes/dhcpd.h:429:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char dhcp4o6_flags[3];
data/isc-dhcp-4.4.1/includes/dhcpd.h:588:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char uid_buf [7];
data/isc-dhcp-4.4.1/includes/dhcpd.h:668:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char expiry[4], renewal[4], rebind[4];
data/isc-dhcp-4.4.1/includes/dhcpd.h:1166:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char iaid[4];
data/isc-dhcp-4.4.1/includes/dhcpd.h:1185:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char dhcpv6_transaction_id[3];
data/isc-dhcp-4.4.1/includes/dhcpd.h:1313:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char dhcpv6_transaction_id[3];
data/isc-dhcp-4.4.1/includes/dhcpd.h:1389: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 name [IFNAMSIZ];		/* Its name... */
data/isc-dhcp-4.4.1/includes/dhcpd.h:1423: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 name [IFNAMSIZ];
data/isc-dhcp-4.4.1/includes/dhcpd.h:1467:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char data [1];		/* Query data. */
data/isc-dhcp-4.4.1/includes/dhcpd.h:1474:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char *answers[1];	/* Pointers to answers. */
data/isc-dhcp-4.4.1/includes/dhcpd.h:1521:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef unsigned char option_mask [16];
data/isc-dhcp-4.4.1/includes/dhcpd.h:1808:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char zone_name[DHCP_MAXDNS_WIRE];
data/isc-dhcp-4.4.1/includes/dhcpd.h:2911:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *hardware_types [256];
data/isc-dhcp-4.4.1/includes/inet.h:33:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char iabuf [16];
data/isc-dhcp-4.4.1/includes/omapip/alloc.h:47:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char low_fence [DMLFSIZE];
data/isc-dhcp-4.4.1/includes/omapip/buffer.h:53: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 [OMAPI_BUF_SIZE];	/* The actual buffer is included in
data/isc-dhcp-4.4.1/includes/omapip/omapip.h:58:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char value [1];
data/isc-dhcp-4.4.1/includes/omapip/omapip.h:85:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char value [1];
data/isc-dhcp-4.4.1/includes/omapip/omapip.h:138:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char address [16];
data/isc-dhcp-4.4.1/includes/omapip/trace.h:59: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 name [1];
data/isc-dhcp-4.4.1/includes/tree.h:62:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char data [1];
data/isc-dhcp-4.4.1/includes/tree.h:291: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 hostname [1];
data/isc-dhcp-4.4.1/omapip/alloc.c:860: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 (new -> u.buffer.value, s, val);
data/isc-dhcp-4.4.1/omapip/array.c:114:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (newbuf,
data/isc-dhcp-4.4.1/omapip/auth.c:263: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 ((*value) -> value -> u.buffer.value,
data/isc-dhcp-4.4.1/omapip/buffer.c:69:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&connect_index, buf, sizeof connect_index);
data/isc-dhcp-4.4.1/omapip/buffer.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 (&buffer -> buf [buffer -> tail],
data/isc-dhcp-4.4.1/omapip/buffer.c:327: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 -> buf [buffer -> tail],
data/isc-dhcp-4.4.1/omapip/buffer.c:416: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 (bufp, &buffer -> buf [first_byte],
data/isc-dhcp-4.4.1/omapip/connection.c:82: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 (addrs -> addresses [i].address,
data/isc-dhcp-4.4.1/omapip/connection.c:93: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 (addrs -> addresses [0].address, &foo, sizeof foo);
data/isc-dhcp-4.4.1/omapip/connection.c:157: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 (&local_sin.sin_addr,
data/isc-dhcp-4.4.1/omapip/connection.c:340: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 (&connect_index, s, sizeof connect_index);
data/isc-dhcp-4.4.1/omapip/connection.c:342: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 (&listener_index, s, sizeof listener_index);
data/isc-dhcp-4.4.1/omapip/connection.c:344: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 (&remote.sin_port, s, sizeof remote.sin_port);
data/isc-dhcp-4.4.1/omapip/connection.c:346: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 (&local.sin_port, s, sizeof local.sin_port);
data/isc-dhcp-4.4.1/omapip/connection.c:348:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&remote.sin_addr, s, sizeof remote.sin_addr);
data/isc-dhcp-4.4.1/omapip/connection.c:350: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 (&local.sin_addr, s, sizeof local.sin_addr);
data/isc-dhcp-4.4.1/omapip/connection.c:670: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 (&c -> remote_addr.sin_addr,
data/isc-dhcp-4.4.1/omapip/connection.c:801: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 (name_str,
data/isc-dhcp-4.4.1/omapip/convert.c:39: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 (&ibuf, buf, sizeof (u_int32_t));
data/isc-dhcp-4.4.1/omapip/convert.c:48:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&ibuf, buf, sizeof (int32_t));
data/isc-dhcp-4.4.1/omapip/convert.c:57: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 (&ibuf, buf, sizeof (u_int16_t));
data/isc-dhcp-4.4.1/omapip/convert.c:66: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 (&ibuf, buf, sizeof (int16_t));
data/isc-dhcp-4.4.1/omapip/convert.c:75: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, &tmp, sizeof tmp);
data/isc-dhcp-4.4.1/omapip/convert.c:83: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, &tmp, sizeof tmp);
data/isc-dhcp-4.4.1/omapip/convert.c:91: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, &tmp, sizeof tmp);
data/isc-dhcp-4.4.1/omapip/convert.c:99: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, &tmp, sizeof tmp);
data/isc-dhcp-4.4.1/omapip/errwarn.c:48:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char mbuf [CVT_BUF_MAX + 1];
data/isc-dhcp-4.4.1/omapip/errwarn.c:49:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char fbuf [CVT_BUF_MAX + 1];
data/isc-dhcp-4.4.1/omapip/errwarn.c:223:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char errbuf [128];
data/isc-dhcp-4.4.1/omapip/errwarn.c:226:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (errbuf, "Error %d", err);
data/isc-dhcp-4.4.1/omapip/generic.c:136: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 (va, g -> values,
data/isc-dhcp-4.4.1/omapip/generic.c:138: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 (ca, g -> changed,
data/isc-dhcp-4.4.1/omapip/handle.c:291: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(&h, handle->u.buffer.value, sizeof h);
data/isc-dhcp-4.4.1/omapip/hash.c:336: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(&number, key, 4);
data/isc-dhcp-4.4.1/omapip/hash.c:346:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static unsigned char retbuf[sizeof("Contents/Size (%): "
data/isc-dhcp-4.4.1/omapip/hash.c:389:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf((char *)retbuf, 
data/isc-dhcp-4.4.1/omapip/iscprint.c:67:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/isc-dhcp-4.4.1/omapip/iscprint.c:81: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 fmt[32];
data/isc-dhcp-4.4.1/omapip/iscprint.c:233:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(buf, "%u", tmpui);
data/isc-dhcp-4.4.1/omapip/iscprint.c:252:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(buf, "%u", tmpui);
data/isc-dhcp-4.4.1/omapip/iscprint.c:266:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(buf, "%x", tmpui);
data/isc-dhcp-4.4.1/omapip/iscprint.c:280:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(buf, "%X", tmpui);
data/isc-dhcp-4.4.1/omapip/iscprint.c:406:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf, "%p", v);
data/isc-dhcp-4.4.1/omapip/listener.c:101: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 (&obj -> address.sin_addr,
data/isc-dhcp-4.4.1/omapip/listener.c:304: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 (addr.address, &remote_addr -> sin_addr,
data/isc-dhcp-4.4.1/omapip/result.c:36:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *text[DHCP_R_NRESULTS] = {
data/isc-dhcp-4.4.1/omapip/support.c:364:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (nds -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:381:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (n -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:405:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (n -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:429:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (n -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:453:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (n -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:495: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 (nds -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:704: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 ((*vp) -> value -> u.buffer.value, value, len);
data/isc-dhcp-4.4.1/omapip/support.c:846: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 (&rv, t -> u.buffer.value, sizeof rv);
data/isc-dhcp-4.4.1/omapip/test.c:74:17:  [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).
						(unsigned)atoi (argv [2]), 1);
data/isc-dhcp-4.4.1/omapip/test.c:94: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).
						 (unsigned)atoi (argv [3]), 0);
data/isc-dhcp-4.4.1/omapip/trace.c:139:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	traceoutfile = open (filename, O_CREAT | O_WRONLY | O_EXCL, 0600);
data/isc-dhcp-4.4.1/omapip/trace.c:142:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		traceoutfile = open (filename, O_WRONLY | O_EXCL | O_TRUNC,
data/isc-dhcp-4.4.1/omapip/trace.c:299:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (vec, trace_types,
data/isc-dhcp-4.4.1/omapip/trace.c:361: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 (tim -> name, ttmp -> name, slen);
data/isc-dhcp-4.4.1/omapip/trace.c:430:16:  [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).
	traceinfile = fopen (filename, "r");
data/isc-dhcp-4.4.1/relay/dhcrelay.c:299:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:301:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:303:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:422:13:  [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).
			hcount = atoi(argv[i]);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:486:42:  [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).
			dhcp_max_agent_option_packet_length = atoi(argv[i]);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:633: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(&sp->to.sin_addr, iap, sizeof *iap);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:778:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			pfdesc = open(path_dhcrelay_pid,
data/isc-dhcp-4.4.1/relay/dhcrelay.c:893: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(&hto.hbuf[1], packet->chaddr, packet->hlen);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1363: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(sp, ip->circuit_id, ip->circuit_id_len);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1370: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(sp, ip->remote_id, ip->remote_id_len);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1380: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(sp, &giaddr.s_addr, 4);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1492:12:  [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).
		dp->id = atoi(iid);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1651: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 forw_data[65535];
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1708: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(&relay->link_address, &dp->link.sin6_addr, 16);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1725: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(&relay->link_address, &dp->link.sin6_addr, 16);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1727: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(&relay->peer_address, packet->client_addr.iabuf, 16);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1894: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(&if_index, if_id.data, sizeof(int));
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1920: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(peer.iabuf, &packet->dhcpv6_peer_address, peer.len);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1944: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(&down_relay_port, down_port.data,
data/isc-dhcp-4.4.1/server/bootp.c:52: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 msgbuf [1024];
data/isc-dhcp-4.4.1/server/bootp.c:215: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(outgoing.raw->options, packet->raw->options,
data/isc-dhcp-4.4.1/server/bootp.c:270: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 (raw.chaddr, packet -> raw -> chaddr, sizeof raw.chaddr);
data/isc-dhcp-4.4.1/server/bootp.c:278: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 (&raw.yiaddr, lease->ip_addr.iabuf, 4);
data/isc-dhcp-4.4.1/server/bootp.c:300: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 (&raw.siaddr, d1.data, 4);
data/isc-dhcp-4.4.1/server/bootp.c:320: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 (raw.file, d1.data,
data/isc-dhcp-4.4.1/server/bootp.c:327: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 (raw.file, packet -> raw -> file, sizeof raw.file);
data/isc-dhcp-4.4.1/server/bootp.c:336:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (raw.sname, d1.data,
data/isc-dhcp-4.4.1/server/bootp.c:374: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(packet->dhcp4o6_response->buffer->data,
data/isc-dhcp-4.4.1/server/bootp.c:383: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 (&hto.hbuf [1], packet -> raw -> chaddr, packet -> raw -> hlen);
data/isc-dhcp-4.4.1/server/confpars.c:121:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((file = open (filename, O_RDONLY)) < 0) {
data/isc-dhcp-4.4.1/server/confpars.c:1021:17:  [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).
			cp -> port = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:1054:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			*tp = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:1088: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 (peer -> hba, hba, 32);
data/isc-dhcp-4.4.1/server/confpars.c:1103:12:  [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).
			split = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:1140:36:  [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).
			peer -> load_balance_max_secs = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:1297: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).
			state -> mclt = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:2086: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 (host -> client_identifier.buffer -> data, s,
data/isc-dhcp-4.4.1/server/confpars.c:2115: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).
				host->relays = atoi(val);
data/isc-dhcp-4.4.1/server/confpars.c:2305: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 ((char *)data.buffer -> data, val,
data/isc-dhcp-4.4.1/server/confpars.c:2535:27:  [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).
			class -> lease_limit = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:2757:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char addr [4];
data/isc-dhcp-4.4.1/server/confpars.c:2790: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 (iaddr.iabuf, addr, len);
data/isc-dhcp-4.4.1/server/confpars.c:2806: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 (iaddr.iabuf, addr, len);
data/isc-dhcp-4.4.1/server/confpars.c:3126:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char addr [4];
data/isc-dhcp-4.4.1/server/confpars.c:3130: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 tbuf [32];
data/isc-dhcp-4.4.1/server/confpars.c:3155: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 (lease -> ip_addr.iabuf, addr, len);
data/isc-dhcp-4.4.1/server/confpars.c:3244: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 (tuid, val, lease -> uid_len);
data/isc-dhcp-4.4.1/server/confpars.c:3697: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->buffer->data, val, buflen + 1);
data/isc-dhcp-4.4.1/server/confpars.c:3717: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->buffer->data, s, data->len);
data/isc-dhcp-4.4.1/server/confpars.c:3732:25:  [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).
		value->value.intval = atol(val);
data/isc-dhcp-4.4.1/server/confpars.c:3767:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char addr [4];
data/isc-dhcp-4.4.1/server/confpars.c:3786: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 (low.iabuf, addr, len);
data/isc-dhcp-4.4.1/server/confpars.c:3797: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 (high.iabuf, addr, len);
data/isc-dhcp-4.4.1/server/confpars.c:3979: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(tmp, pond->ipv6_pools, 
data/isc-dhcp-4.4.1/server/confpars.c:4169:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		net.cidrnet.bits = atoi(val);
data/isc-dhcp-4.4.1/server/confpars.c:4364:9:  [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).
	bits = atoi(val);
data/isc-dhcp-4.4.1/server/confpars.c:4495:21:  [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).
	ia->cidrnet.bits = atoi(val);
data/isc-dhcp-4.4.1/server/confpars.c:4741: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 addr_buf[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/server/confpars.c:4870:14:  [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).
				prefer = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:4898:13:  [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).
				valid = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:5188: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 addr_buf[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/server/confpars.c:5317:14:  [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).
				prefer = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:5345:13:  [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).
				valid = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:5625: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 addr_buf[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/server/confpars.c:5754:14:  [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).
				prefer = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:5782:13:  [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).
				valid = atoi (val);
data/isc-dhcp-4.4.1/server/confpars.c:6061:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char bytes[128];  /* Maximum valid DUID is 128 */
data/isc-dhcp-4.4.1/server/confpars.c:6076: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(duid.buffer->data, bytes, len);
data/isc-dhcp-4.4.1/server/confpars.c:6133:23:  [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).
		enterprise_number = atoi(val);
data/isc-dhcp-4.4.1/server/confpars.c:6153: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(duid.buffer->data + 6, val, len);
data/isc-dhcp-4.4.1/server/confpars.c:6205: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(duid.buffer->data + 4, 
data/isc-dhcp-4.4.1/server/confpars.c:6251: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).
			llt_time = atoi(val);
data/isc-dhcp-4.4.1/server/confpars.c:6270: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(duid.buffer->data + 8, 
data/isc-dhcp-4.4.1/server/confpars.c:6289:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		duid_type_num = atoi(val);
data/isc-dhcp-4.4.1/server/confpars.c:6308: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(duid.buffer->data + 2, val, len);
data/isc-dhcp-4.4.1/server/confpars.c:6351: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(&value, source, 4);
data/isc-dhcp-4.4.1/server/confpars.c:6387:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char bytes[132];  /* Maximum valid IAID-DUID is 132 */
data/isc-dhcp-4.4.1/server/db.c:522:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char addr_buf[sizeof("ffff:ffff:ffff:ffff:ffff:ffff.255.255.255.255")];
data/isc-dhcp-4.4.1/server/db.c:1108: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).
	db_file = fopen (current_db_path, "a");
data/isc-dhcp-4.4.1/server/db.c:1135: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 newfname [512];
data/isc-dhcp-4.4.1/server/db.c:1136: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 backfname [512];
data/isc-dhcp-4.4.1/server/db.c:1157:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	db_fd = open (newfname, O_WRONLY | O_TRUNC | O_CREAT, 0664);
data/isc-dhcp-4.4.1/server/ddns.c:86:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (ds1 -> buffer -> data + ds1 -> len,
data/isc-dhcp-4.4.1/server/ddns.c:173: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(ddns_cb->address.iabuf, lease6->addr.s6_addr, 16);
data/isc-dhcp-4.4.1/server/ddns.c:443: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[17];
data/isc-dhcp-4.4.1/server/ddns.c:497:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				    sprintf((char *)rname->buffer->data,
data/isc-dhcp-4.4.1/server/ddns.c:514:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
					sprintf(p, "%x.%x.",
data/isc-dhcp-4.4.1/server/ddns.c:519:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
				strcat(p, "ip6.arpa.");
data/isc-dhcp-4.4.1/server/ddns.c:717: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(&bp->data[5], d1.data, d1.len);
data/isc-dhcp-4.4.1/server/ddns.c:767:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (&bp -> data [5],
data/isc-dhcp-4.4.1/server/ddns.c:855: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(&addr, &ddns_cb->address.iabuf, 16);
data/isc-dhcp-4.4.1/server/ddns.c:961: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 lease_address[MAX_ADDRESS_STRING_LEN + 64];
data/isc-dhcp-4.4.1/server/ddns.c:962: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 reason[128]; /* likely reason */
data/isc-dhcp-4.4.1/server/ddns.c:964:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(reason, "unknown");
data/isc-dhcp-4.4.1/server/ddns.c:965:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(lease_address, "unknown");
data/isc-dhcp-4.4.1/server/ddns.c:977:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(reason, "duplicate IPv4 fixed-address entry");
data/isc-dhcp-4.4.1/server/ddns.c:979:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(reason, "duplicate IPv6 fixed-address6 entry "
data/isc-dhcp-4.4.1/server/ddns.c:986:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(reason, "corrupted ddns_cb structure (address "
data/isc-dhcp-4.4.1/server/ddns.c:1093: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 addrbuf[MAX_ADDRESS_STRING_LEN];
data/isc-dhcp-4.4.1/server/ddns.c:1177: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 ddns_address[MAX_ADDRESS_STRING_LEN];
data/isc-dhcp-4.4.1/server/ddns.c:1178:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(ddns_address, "unknown");
data/isc-dhcp-4.4.1/server/ddns.c:1252: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 addrbuf[MAX_ADDRESS_STRING_LEN];
data/isc-dhcp-4.4.1/server/ddns.c:1254: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(&addr, &ddns_cb->address.iabuf, 16);
data/isc-dhcp-4.4.1/server/ddns.c:1434: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 ddns_address[MAX_ADDRESS_STRING_LEN];
data/isc-dhcp-4.4.1/server/ddns.c:1525: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 ddns_address[MAX_ADDRESS_STRING_LEN];
data/isc-dhcp-4.4.1/server/ddns.c:1606: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 ddns_address[MAX_ADDRESS_STRING_LEN+1];
data/isc-dhcp-4.4.1/server/ddns.c:1808: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 ddns_address[MAX_ADDRESS_STRING_LEN];
data/isc-dhcp-4.4.1/server/ddns.c:2044: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(&ddns_cb->address.iabuf, lease6->addr.s6_addr, 16);
data/isc-dhcp-4.4.1/server/ddns.c:2375:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char output_buf[4096];
data/isc-dhcp-4.4.1/server/dhcp.c:61:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char dhcp_message [256];
data/isc-dhcp-4.4.1/server/dhcp.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 typebuf[32];
data/isc-dhcp-4.4.1/server/dhcp.c:112:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(typebuf, "type %d", packet->packet_type);
data/isc-dhcp-4.4.1/server/dhcp.c:172: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 (cip.iabuf, &packet -> raw -> ciaddr,
data/isc-dhcp-4.4.1/server/dhcp.c:291: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 msgbuf [1024]; /* XXX */
data/isc-dhcp-4.4.1/server/dhcp.c:458: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 msgbuf [1024]; /* XXX */
data/isc-dhcp-4.4.1/server/dhcp.c:460: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 smbuf [19];
data/isc-dhcp-4.4.1/server/dhcp.c:475: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 (cip.iabuf, data.data, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:481: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 (cip.iabuf, &packet -> raw -> ciaddr.s_addr, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:511: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 (sip.iabuf, data.data, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:779: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 msgbuf [1024], cstr[16]; /* XXX */
data/isc-dhcp-4.4.1/server/dhcp.c:828: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 (cip.iabuf, &packet -> raw -> ciaddr, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:935: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 msgbuf [1024]; /* XXX */
data/isc-dhcp-4.4.1/server/dhcp.c:953: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 (cip.iabuf, data.data, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1084: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 msgbuf[1024], *addr_type;
data/isc-dhcp-4.4.1/server/dhcp.c:1117: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(cip.iabuf, &packet->client_addr.iabuf, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1127: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(cip.iabuf, &packet->raw->ciaddr, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1131: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(sip.iabuf, cip.iabuf, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1135: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(gip.iabuf, &packet->raw->giaddr, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1138: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(sip.iabuf, gip.iabuf, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1193: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(sip.iabuf, d1.data, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1486: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 (raw.file, d1.data, i);
data/isc-dhcp-4.4.1/server/dhcp.c:1506: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 (raw.sname, d1.data, i);
data/isc-dhcp-4.4.1/server/dhcp.c:1619: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 (&raw.siaddr, d1.data, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1648: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 (raw.chaddr, packet -> raw -> chaddr, sizeof raw.chaddr);
data/isc-dhcp-4.4.1/server/dhcp.c:1683: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(packet->dhcp4o6_response->buffer->data,
data/isc-dhcp-4.4.1/server/dhcp.c:1719: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(&to.sin_addr, gip.iabuf, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1728: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(&to.sin_addr, cip.iabuf, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:1894: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 (raw.chaddr, packet -> raw -> chaddr, sizeof raw.chaddr);
data/isc-dhcp-4.4.1/server/dhcp.c:1946: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(packet->dhcp4o6_response->buffer->data,
data/isc-dhcp-4.4.1/server/dhcp.c:2830: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 (cip.iabuf, &lt->ip_addr.iabuf, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:2860: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 (cip.iabuf, &lt->ip_addr.iabuf, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:3020: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(lt->uid_buf, d1.data, d1.len);
data/isc-dhcp-4.4.1/server/dhcp.c:3033: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(tuid, d1.data, lt->uid_len);
data/isc-dhcp-4.4.1/server/dhcp.c:3132: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 (lt -> client_hostname, d1.data, d1.len);
data/isc-dhcp-4.4.1/server/dhcp.c:3143: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 (&lt -> hardware_addr.hbuf [1], packet -> raw -> chaddr,
data/isc-dhcp-4.4.1/server/dhcp.c:3189: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 (&lease -> hardware_addr.hbuf [1],
data/isc-dhcp-4.4.1/server/dhcp.c:3334: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(state->from.iabuf, &from, sizeof(from));
data/isc-dhcp-4.4.1/server/dhcp.c:3393: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 (state -> from.iabuf,
data/isc-dhcp-4.4.1/server/dhcp.c:3411: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 (&state -> siaddr, d1.data, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:3456: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 (&ia, lease -> ip_addr.iabuf, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:3807: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 (raw.file,
data/isc-dhcp-4.4.1/server/dhcp.c:3826: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 (raw.sname,
data/isc-dhcp-4.4.1/server/dhcp.c:3843: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 (raw.chaddr,
data/isc-dhcp-4.4.1/server/dhcp.c:3871: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 (&raw.ciaddr, &state -> ciaddr, sizeof raw.ciaddr);
data/isc-dhcp-4.4.1/server/dhcp.c:3872: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 (&raw.yiaddr, lease -> ip_addr.iabuf, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:3922: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(state->packet->dhcp4o6_response->buffer->data,
data/isc-dhcp-4.4.1/server/dhcp.c:3955: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 (hto.hbuf, lease -> hardware_addr.hbuf, hto.hlen);
data/isc-dhcp-4.4.1/server/dhcp.c:4050: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 (&from, state -> from.iabuf, sizeof from);
data/isc-dhcp-4.4.1/server/dhcp.c:4108: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 (cip.iabuf, &packet -> raw -> ciaddr, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:4122: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 (cip.iabuf, d1.data, cip.len);
data/isc-dhcp-4.4.1/server/dhcp.c:4217:3:  [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 (dhcp_message, "requested address is incorrect");
data/isc-dhcp-4.4.1/server/dhcp.c:4312: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 (&h.hbuf [1], packet -> raw -> chaddr, packet -> raw -> hlen);
data/isc-dhcp-4.4.1/server/dhcp.c:4426:3:  [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 (dhcp_message, "requested address on bad subnet");
data/isc-dhcp-4.4.1/server/dhcp.c:4544:4:  [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 (dhcp_message,
data/isc-dhcp-4.4.1/server/dhcp.c:4618:3:  [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 (dhcp_message, "requested address not available");
data/isc-dhcp-4.4.1/server/dhcp.c:4854: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 (lease -> uid, rhp -> client_identifier.data,
data/isc-dhcp-4.4.1/server/dhcp.c:5138: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(ia.iabuf, data.data, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:5155: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(ia.iabuf, &packet->raw->giaddr, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:5188: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(ia.iabuf, first_link_addr, sizeof(*first_link_addr));
data/isc-dhcp-4.4.1/server/dhcp.c:5276: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 (ia.iabuf, data.data, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:5280: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 (ia.iabuf, &packet -> raw -> giaddr, 4);
data/isc-dhcp-4.4.1/server/dhcp.c:5348: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(from, d.data, sizeof(*from));
data/isc-dhcp-4.4.1/server/dhcpd.c:260: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 pbuf [20];
data/isc-dhcp-4.4.1/server/dhcpd.c:303:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/server/dhcpd.c:305:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                fd = open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/server/dhcpd.c:307:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                fd = open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/server/dhcpd.c:729: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 (&limited_broadcast,
data/isc-dhcp-4.4.1/server/dhcpd.c:868:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((i = open(path_dhcpd_pid, O_RDONLY)) >= 0) {
data/isc-dhcp-4.4.1/server/dhcpd.c:873:11:  [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).
				pid = atoi(pbuf);
data/isc-dhcp-4.4.1/server/dhcpd.c:937: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 (&junk,
data/isc-dhcp-4.4.1/server/dhcpd.c:978:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		i = open(path_dhcpd_pid, O_WRONLY|O_CREAT|O_TRUNC, 0644);
data/isc-dhcp-4.4.1/server/dhcpd.c:980:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(pbuf, "%d\n", (int) getpid());
data/isc-dhcp-4.4.1/server/dhcpd.c:1031:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                (void) open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/server/dhcpd.c:1032:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                (void) open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/server/dhcpd.c:1033:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                (void) open("/dev/null", O_RDWR);
data/isc-dhcp-4.4.1/server/dhcpd.c:1098:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(s, db.data, db.len);
data/isc-dhcp-4.4.1/server/dhcpd.c:1111:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(s, db.data, db.len);
data/isc-dhcp-4.4.1/server/dhcpd.c:1131:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(s, db.data, db.len);
data/isc-dhcp-4.4.1/server/dhcpd.c:1145:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(s, db.data, db.len);
data/isc-dhcp-4.4.1/server/dhcpd.c:1157: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(&local_address6, db.data, 16);
data/isc-dhcp-4.4.1/server/dhcpd.c:1195:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(s, db.data, db.len);
data/isc-dhcp-4.4.1/server/dhcpd.c:1233: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(&limited_broadcast, db.data, 4);
data/isc-dhcp-4.4.1/server/dhcpd.c:1244: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(&local_address, db.data, 4);
data/isc-dhcp-4.4.1/server/dhcpd.c:1274: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(&local4, db.data, 4);
data/isc-dhcp-4.4.1/server/dhcpd.c:1286: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(&local6, db.data, 16);
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:129: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 msgbuf[256];
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:130: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 dbg_info[128];
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:196: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(gip.iabuf, &packet->raw->giaddr, sizeof(packet->raw->giaddr));
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:252: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(cip.iabuf, &packet->raw->ciaddr, sizeof(packet->raw->ciaddr));
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:316: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(&h.hbuf[1], 
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:744: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 data[65536];
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:904: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(d.buffer->data + sizeof(code), message, d.len - sizeof(code));
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:1011: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(data.buffer->data, &iaaddr->addr, 16);
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:1245: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(reply_ret->buffer->data, lq.buf.data, lq.cursor);
data/isc-dhcp-4.4.1/server/dhcpv6.c:108: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 data[65536];
data/isc-dhcp-4.4.1/server/dhcpv6.c:213: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[65536];
data/isc-dhcp-4.4.1/server/dhcpv6.c:231: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(raw.buffer->data, buf, cc);
data/isc-dhcp-4.4.1/server/dhcpv6.c:254: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 name[16 + 1];
data/isc-dhcp-4.4.1/server/dhcpv6.c:256:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pbuf[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/server/dhcpv6.c:261: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(name, raw->data, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:274: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(&to_addr.sin6_addr, raw->data + 16, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:276: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(&udp_data, raw->data + 32, 4);
data/isc-dhcp-4.4.1/server/dhcpv6.c:506: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(generated_duid.buffer->data + 8,
data/isc-dhcp-4.4.1/server/dhcpv6.c:518: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(generated_duid.buffer->data + 4,
data/isc-dhcp-4.4.1/server/dhcpv6.c:752: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 client_id_str[80];	/* print_hex_1() uses maximum 60 characters,
data/isc-dhcp-4.4.1/server/dhcpv6.c:977: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(d.buffer->data + sizeof(status_code),
data/isc-dhcp-4.4.1/server/dhcpv6.c:998:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:1311:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_buf[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:1483: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(&ia.iabuf, &tmp_pref, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:1623: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 tmp_buf[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:1966: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(reply_ret->buffer->data, reply.buf.data, reply.cursor);
data/isc-dhcp-4.4.1/server/dhcpv6.c:2074: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(tmp_addr.iabuf, reply->fixed.data, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:2240: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 tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:2274: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 tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:2516: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(tmp_addr.iabuf, iaaddr.data, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:2951: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(tmp_addr.iabuf, iaaddr.data, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:3061: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 tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:3514: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(send_addr.iabuf, &reply->lease->addr, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:3633: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(send_addr.iabuf, reply->fixed.data, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:3704: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(send_addr.iabuf, &reply->lease->addr, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:3961: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(data.buffer->data, addr->iabuf, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:4268: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 tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:4301: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 tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:4476: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(tmp_addr.iabuf, fixed_addr.data, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:4570: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(tmp_pref.lo_addr.iabuf, iapref.data + 9, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:4648: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(&reply->fixed_pref, &tmp_pref, sizeof(tmp_pref));
data/isc-dhcp-4.4.1/server/dhcpv6.c:4820: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(data_pref.buffer->data + 1, pref->lo_addr.iabuf, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:4893: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(&reply->fixed_pref, &l->cidrnet, sizeof(send_pref));
data/isc-dhcp-4.4.1/server/dhcpv6.c:4978: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(send_pref.lo_addr.iabuf, &reply->lease->addr, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:5225: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(data.buffer->data + 9, pref->lo_addr.iabuf, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:5441: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(tmp_addr.iabuf,
data/isc-dhcp-4.4.1/server/dhcpv6.c:5509: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 reply_data[65536];
data/isc-dhcp-4.4.1/server/dhcpv6.c:5600: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(cli_addr.iabuf, iaaddr.data, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:5681: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(reply_ret->buffer->data, reply, reply_ofs);
data/isc-dhcp-4.4.1/server/dhcpv6.c:5764:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:5787:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:5837: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(reply_data+(*reply_ofs)+4, ia_na_id, 4);
data/isc-dhcp-4.4.1/server/dhcpv6.c:5870: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 reply_data[65536];
data/isc-dhcp-4.4.1/server/dhcpv6.c:5873: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 status_msg[32];
data/isc-dhcp-4.4.1/server/dhcpv6.c:6094: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(reply_ret->buffer->data, reply, reply_ofs);
data/isc-dhcp-4.4.1/server/dhcpv6.c:6172:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:6193:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:6244: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(reply_data+(*reply_ofs)+4, ia_na_id, 4);
data/isc-dhcp-4.4.1/server/dhcpv6.c:6263:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:6286:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:6339: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(reply_data+(*reply_ofs)+4, ia_pd_id, 4);
data/isc-dhcp-4.4.1/server/dhcpv6.c:6373: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 reply_data[65536];
data/isc-dhcp-4.4.1/server/dhcpv6.c:6556: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(reply_new.buffer->data,
data/isc-dhcp-4.4.1/server/dhcpv6.c:6558: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(reply_new.buffer->data + reply_ret->len,
data/isc-dhcp-4.4.1/server/dhcpv6.c:6685: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 link_addr[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/server/dhcpv6.c:6686: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 peer_addr[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/server/dhcpv6.c:6689:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char reply_data[65536];
data/isc-dhcp-4.4.1/server/dhcpv6.c:6764: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(&enc_packet->dhcpv6_link_address,
data/isc-dhcp-4.4.1/server/dhcpv6.c:6766: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(&enc_packet->dhcpv6_peer_address,
data/isc-dhcp-4.4.1/server/dhcpv6.c:6982: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(reply_ret->buffer->data, reply_data, reply_ofs);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7023: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 link_addr[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/server/dhcpv6.c:7024: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 peer_addr[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
data/isc-dhcp-4.4.1/server/dhcpv6.c:7027:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char reply_data[65536];
data/isc-dhcp-4.4.1/server/dhcpv6.c:7098: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(&enc_packet->dhcpv6_link_address,
data/isc-dhcp-4.4.1/server/dhcpv6.c:7100: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(&enc_packet->dhcpv6_peer_address,
data/isc-dhcp-4.4.1/server/dhcpv6.c:7304: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(reply_ret->buffer->data, reply_data, reply_ofs);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7342:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char response_data[65536];
data/isc-dhcp-4.4.1/server/dhcpv6.c:7495: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(reply_ret->buffer->data, response_data, response_ofs);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7550: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(ds.buffer->data + 16,
data/isc-dhcp-4.4.1/server/dhcpv6.c:7554: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(ds.buffer->data + 32, &udp_data, 4);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7555: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(ds.buffer->data + 36,
data/isc-dhcp-4.4.1/server/dhcpv6.c:7677:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:7707:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(((char *)&tid)+1, packet->dhcpv6_transaction_id, 3);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7814: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 name[16 + 1];
data/isc-dhcp-4.4.1/server/dhcpv6.c:7827: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(name, raw->data, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7839: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(iaddr.iabuf, raw->data + 16, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7842: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(&udp_data, raw->data + 32, 4);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7886: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(&packet->dhcpv6_link_address,
data/isc-dhcp-4.4.1/server/dhcpv6.c:7888: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(&packet->dhcpv6_peer_address,
data/isc-dhcp-4.4.1/server/dhcpv6.c:7948: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 tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/dhcpv6.c:7963:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(((char *)&tid)+1, packet->dhcpv6_transaction_id, 3);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7992: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(ds.buffer->data, name, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7993: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(ds.buffer->data + 16, iaddr.iabuf, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7995: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(ds.buffer->data + 32, &udp_data, 4);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7996: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(ds.buffer->data + 36, reply.data, reply.len);
data/isc-dhcp-4.4.1/server/dhcpv6.c:8060: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(fixed.iabuf, addr.data, 16);
data/isc-dhcp-4.4.1/server/dhcpv6.c:8140: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(reply_ret->buffer->data, reply.buf.data,
data/isc-dhcp-4.4.1/server/dhcpv6.c:8371: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 (iaddr->iabuf,
data/isc-dhcp-4.4.1/server/dhcpv6.c:8551:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char prefix_buf[16];
data/isc-dhcp-4.4.1/server/dhcpv6.c:8554:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(prefix_buf, "/%-d", lease->plen);
data/isc-dhcp-4.4.1/server/dhcpv6.c:8606: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(iasub->addr.s6_addr, reply->fixed.data, 16);
data/isc-dhcp-4.4.1/server/failover.c:258: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 (addrs -> addresses [i].address,
data/isc-dhcp-4.4.1/server/failover.c:292: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 (local_addr.address, ds.data, ds.len);
data/isc-dhcp-4.4.1/server/failover.c:601:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (state -> hba, link -> imsg -> hba.data, 32);
data/isc-dhcp-4.4.1/server/failover.c:1045: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 (local_addr.address, value -> value -> u.buffer.value,
data/isc-dhcp-4.4.1/server/failover.c:1368:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    char errbuf[1024];
data/isc-dhcp-4.4.1/server/failover.c:3706: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.
    static char resbuf[sizeof("Undefined-255: This reason code is not defined "
data/isc-dhcp-4.4.1/server/failover.c:3780:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(resbuf, "Undefined-%d: This reason code is not defined in the "
data/isc-dhcp-4.4.1/server/failover.c:3833:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char messbuf[sizeof("unknown-message-255")];
data/isc-dhcp-4.4.1/server/failover.c:3876:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(messbuf, "unknown-message-%u", type);
data/isc-dhcp-4.4.1/server/failover.c:3883:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char optbuf[sizeof("unknown-option-65535")];
data/isc-dhcp-4.4.1/server/failover.c:3977:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(optbuf, "unknown-option-%u", type);
data/isc-dhcp-4.4.1/server/failover.c:3989: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 tbuf [256];
data/isc-dhcp-4.4.1/server/failover.c:4022: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 tbuf [256];
data/isc-dhcp-4.4.1/server/failover.c:4122:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (tbuf, " %d", val);
data/isc-dhcp-4.4.1/server/failover.c:4142:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (tbuf, " %u.%u.%u.%u",
data/isc-dhcp-4.4.1/server/failover.c:4146: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 (&option.data [4 + i * ilen], iaddr, ilen);
data/isc-dhcp-4.4.1/server/failover.c:4155:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (tbuf, " %d", val);
data/isc-dhcp-4.4.1/server/failover.c:4168:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (tbuf, " %d", bval [i]);
data/isc-dhcp-4.4.1/server/failover.c:4172: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 (&option.data [4], bval, count);
data/isc-dhcp-4.4.1/server/failover.c:4193: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 (&option.data [4], txt, count);
data/isc-dhcp-4.4.1/server/failover.c:4202: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 (&option.data [4 + count], bval, size - count - 4);
data/isc-dhcp-4.4.1/server/failover.c:4206:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (tbuf, " %d", option.data [i]);
data/isc-dhcp-4.4.1/server/failover.c:4217:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (tbuf, " %d", val);
data/isc-dhcp-4.4.1/server/failover.c:4285: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 (&opbuf [opix],
data/isc-dhcp-4.4.1/server/failover.c:4394: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:4437: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:4489: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:4546: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:4617: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:4667: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:4794: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:4878: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:4917: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:4957: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:5010: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:5059: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 obuf [64];
data/isc-dhcp-4.4.1/server/failover.c:5192: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 (ia.iabuf, &msg -> assigned_addr, ia.len);
data/isc-dhcp-4.4.1/server/failover.c:5256: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 (lt -> hardware_addr.hbuf, msg -> chaddr.data,
data/isc-dhcp-4.4.1/server/failover.c:5310: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 (lt -> uid,
data/isc-dhcp-4.4.1/server/failover.c:5426: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 outbuf [100];
data/isc-dhcp-4.4.1/server/failover.c:5541: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 (ia.iabuf, &msg -> assigned_addr, ia.len);
data/isc-dhcp-4.4.1/server/failover.c:5920:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char loadb_mx_tbl[256] = {
data/isc-dhcp-4.4.1/server/ldap.c:174:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(temp, cfile->inbuf, cfile->bufsiz);
data/isc-dhcp-4.4.1/server/ldap.c:242: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   hname[MAXHOSTNAMELEN+1];
data/isc-dhcp-4.4.1/server/ldap.c:244: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   hname[65];
data/isc-dhcp-4.4.1/server/ldap.c:558:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (netmaskbuf, "%d.%d.%d.%d", (int) (nm >> 24) & 0xff, 
data/isc-dhcp-4.4.1/server/ldap.c:569: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 netmaskbuf[sizeof("255.255.255.255")];
data/isc-dhcp-4.4.1/server/ldap.c:841: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 srvaddr[2][64] = {"\0", "\0"};
data/isc-dhcp-4.4.1/server/ldap.c:1124:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (ret, db.data, db.len);
data/isc-dhcp-4.4.1/server/ldap.c:1449:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((ldap_debug_fd = open (ldap_debug_file, O_CREAT | O_TRUNC | O_WRONLY,
data/isc-dhcp-4.4.1/server/ldap.c:2178: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 hfilter[1024], sfilter[1024], fqdn[257];
data/isc-dhcp-4.4.1/server/ldap.c:2498:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char *hostdn, *basedn, *temp1, *temp2, filter[1024];
data/isc-dhcp-4.4.1/server/ldap.c:2595: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[128], *type_str;
data/isc-dhcp-4.4.1/server/ldap.c:2600: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 up_hwaddr[20];
data/isc-dhcp-4.4.1/server/ldap.c:2601: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 lo_hwaddr[20];
data/isc-dhcp-4.4.1/server/ldap.c:2781: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[2048];
data/isc-dhcp-4.4.1/server/ldap.c:2954:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024], buf1[1024];
data/isc-dhcp-4.4.1/server/ldap_casa.c:112:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   const char applicationName[10] = "dhcp-ldap";
data/isc-dhcp-4.4.1/server/ldap_casa.c:120:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (applicationSecretId.id, applicationName, applicationSecretId.len);
data/isc-dhcp-4.4.1/server/ldap_casa.c:133:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
         memcpy(tempVar , credential.username, credential.unLen);
data/isc-dhcp-4.4.1/server/ldap_casa.c:139:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
         memcpy(tempVar, credential.password, credential.pwordLen);
data/isc-dhcp-4.4.1/server/ldap_krb_helper.c:112:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[255];
data/isc-dhcp-4.4.1/server/leasechain.c:320: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, lc->list, sizeof(struct lease *) * lc->nelem);
data/isc-dhcp-4.4.1/server/mdb.c:211:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((char *)host->client_identifier.data, uid, len);
data/isc-dhcp-4.4.1/server/mdb.c:623: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 (&h.hbuf [1], haddr, hlen);
data/isc-dhcp-4.4.1/server/mdb.c:736: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 (ip_address.iabuf,
data/isc-dhcp-4.4.1/server/mdb.c:771: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 lowbuf [16], highbuf [16], netbuf [16];
data/isc-dhcp-4.4.1/server/mdb.c:962: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 n1buf[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255")];
data/isc-dhcp-4.4.1/server/mdb.c:1067: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 (ip -> name, name, (sizeof ip -> name) - 1);
data/isc-dhcp-4.4.1/server/mdb.c:1213: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 (comp -> uid_buf,
data/isc-dhcp-4.4.1/server/mdb.c:1675: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 (lt -> uid_buf, lease -> uid_buf, sizeof lt -> uid_buf);
data/isc-dhcp-4.4.1/server/mdb.c:1684: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 (lt -> uid, lease -> uid, lease -> uid_max);
data/isc-dhcp-4.4.1/server/mdb6.c:321:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((char *)key->data, &iaid, sizeof(iaid));
data/isc-dhcp-4.4.1/server/mdb6.c:322:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((char *)key->data + sizeof(iaid), duid, duid_len);
data/isc-dhcp-4.4.1/server/mdb6.c:457: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(new, ia->iasubopt, 
data/isc-dhcp-4.4.1/server/mdb6.c:889: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(addr->s6_addr, net_start_addr->s6_addr, 8);
data/isc-dhcp-4.4.1/server/mdb6.c:892: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(addr->s6_addr + 8, duid + 4, 8);
data/isc-dhcp-4.4.1/server/mdb6.c:944:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char md[16];
data/isc-dhcp-4.4.1/server/mdb6.c:967: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(&addr->s6_addr[0], &net_start_addr->s6_addr[0], 8);
data/isc-dhcp-4.4.1/server/mdb6.c:968: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(&addr->s6_addr[8], md, 8);
data/isc-dhcp-4.4.1/server/mdb6.c:985: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(str + net_bytes, md, 16 - net_bytes);
data/isc-dhcp-4.4.1/server/mdb6.c:1001: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((unsigned char *)&history[0], md + 8, 8);
data/isc-dhcp-4.4.1/server/mdb6.c:1129: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(new_ds.buffer->data, ds.data, ds.len);
data/isc-dhcp-4.4.1/server/mdb6.c:1130: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(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp));
data/isc-dhcp-4.4.1/server/mdb6.c:1638: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 tmp_addr[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/mdb6.c:1945: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(new_ds.buffer->data, ds.data, ds.len);
data/isc-dhcp-4.4.1/server/mdb6.c:1946: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(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp));
data/isc-dhcp-4.4.1/server/mdb6.c:2031: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(new_pools, pools, 
data/isc-dhcp-4.4.1/server/mdb6.c:2447: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(&addr, fixed_addr.data, 16);
data/isc-dhcp-4.4.1/server/mdb6.c:2496: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(&pref, l->cidrnet.lo_addr.iabuf, 16);
data/isc-dhcp-4.4.1/server/mdb6.c:2739: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 log_buf[1084];
data/isc-dhcp-4.4.1/server/mdb6.c:2782:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
					sprintf (bufptr, "/%d",pool->bits);
data/isc-dhcp-4.4.1/server/omapi.c:846: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 (haddr + 1, tv -> value -> u.buffer.value, len - 1);
data/isc-dhcp-4.4.1/server/omapi.c:949: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 (host -> name,
data/isc-dhcp-4.4.1/server/omapi.c:990: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 (&host -> interface.hbuf [1],
data/isc-dhcp-4.4.1/server/omapi.c:1006: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(&type, value->u.buffer.value,
data/isc-dhcp-4.4.1/server/omapi.c:1028:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (host -> client_identifier.buffer -> data,
data/isc-dhcp-4.4.1/server/omapi.c:1050: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 (ds.buffer -> data,
data/isc-dhcp-4.4.1/server/omapi.c:1236:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char hnbuf [64];
data/isc-dhcp-4.4.1/server/omapi.c:1237:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (hnbuf, "nh%08lx%08lx",
data/isc-dhcp-4.4.1/server/omapi.c:1440: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 (haddr + 1, tv -> value -> u.buffer.value, len - 1);
data/isc-dhcp-4.4.1/server/omapi.c:1807:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char tname[value->u.buffer.len + 1];
data/isc-dhcp-4.4.1/server/omapi.c:1808: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(tname, value->u.buffer.value, value->u.buffer.len);
data/isc-dhcp-4.4.1/server/omapi.c:1841: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(class->name, value->u.buffer.value,
data/isc-dhcp-4.4.1/server/omapi.c:1861: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(class->hash_string.buffer->data,
data/isc-dhcp-4.4.1/server/omapi.c:2179: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 (name,
data/isc-dhcp-4.4.1/server/omapi.c:2405: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 (nname, name -> value, name -> len);
data/isc-dhcp-4.4.1/server/omapi.c:2439: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 (&nv -> value.data.buffer -> data [1],
data/isc-dhcp-4.4.1/server/omapi.c:2482: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 (nname, name -> value, name -> len);
data/isc-dhcp-4.4.1/server/omapi.c:2511: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 (&td -> u.buffer.value [0],
data/isc-dhcp-4.4.1/server/tests/hash_unittest.c:90: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((char *)host->client_identifier.data, uid, real_len);
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:376: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 addr_buf[INET6_ADDRSTRLEN];
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:396: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((char *)ds.data, uid, ds.len);
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:602: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((char *)ds.data, uid, ds.len);
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:702: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((char *)ds.data, uid, ds.len);
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:825: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((char *)ds.data, uid, ds.len);
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:938:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64];
data/isc-dhcp-4.4.1/tests/t_api.c:102:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char		T_tvec[T_MAXTESTS / 8];
data/isc-dhcp-4.4.1/tests/t_api.c:103:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *		T_env[T_MAXENV + 1];
data/isc-dhcp-4.4.1/tests/t_api.c:104:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char		T_buf[T_BIGBUF];
data/isc-dhcp-4.4.1/tests/t_api.c:171:11:  [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).
			tnum = atoi(isc_commandline_argument);
data/isc-dhcp-4.4.1/tests/t_api.c:193:14:  [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).
			T_debug = atoi(isc_commandline_argument);
data/isc-dhcp-4.4.1/tests/t_api.c:230:16:  [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).
			T_timeout = atoi(isc_commandline_argument);
data/isc-dhcp-4.4.1/tests/t_api.c:472:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(path, "r");
data/isc-dhcp-4.4.1/tests/t_api.c:509:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(path, "r");
data/isc-dhcp-4.4.1/tests/t_api.c:767: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		*tokens[T_MAXTOKS + 1];
data/isc-dhcp-4.4.1/tests/t_api.c:773:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(filename, "r");
data/isc-dhcp-4.4.1/client/clparse.c:768:42:  [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).
		config -> vendor_space_name = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/client/clparse.c:793:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		name = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/client/clparse.c:1038:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(name) >= sizeof(ip->name)) {
data/isc-dhcp-4.4.1/client/clparse.c:2217:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		       dmalloc (strlen (val) + sizeof (struct string_list),
data/isc-dhcp-4.4.1/client/dhclient.c:279:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(vstring)));
data/isc-dhcp-4.4.1/client/dhclient.c:282:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(PACKAGE_VERSION)));
data/isc-dhcp-4.4.1/client/dhclient.c:289:43:  [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).
			IGNORE_RET(write(STDERR_FILENO, pname, strlen(pname)));
data/isc-dhcp-4.4.1/client/dhclient.c:292:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(DHCLIENT_USAGE0)));
data/isc-dhcp-4.4.1/client/dhclient.c:294:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(DHCLIENT_USAGEC)));
data/isc-dhcp-4.4.1/client/dhclient.c:297:43:  [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).
			IGNORE_RET(write(STDERR_FILENO, pname, strlen(pname)));
data/isc-dhcp-4.4.1/client/dhclient.c:300:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(DHCLIENT_USAGEH)));
data/isc-dhcp-4.4.1/client/dhclient.c:321:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				n = read(dfd[0], &buf, 1);
data/isc-dhcp-4.4.1/client/dhclient.c:444: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).
			tmp = dmalloc(strlen(argv[i]) + sizeof *tmp, MDL);
data/isc-dhcp-4.4.1/client/dhclient.c:573:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    if (strlen(argv[i]) >= sizeof(tmp->name))
data/isc-dhcp-4.4.1/client/dhclient.c:575:26:  [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).
				      argv[i], (long)strlen(argv[i]));
data/isc-dhcp-4.4.1/client/dhclient.c:2730:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(rip_buf, rip_str, sizeof(rip_buf)-1);
data/isc-dhcp-4.4.1/client/dhclient.c:4070: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).
				length = strlen(value);
data/isc-dhcp-4.4.1/client/dhclient.c:4186: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).
					strlen(lease->filename)) == 0) {
data/isc-dhcp-4.4.1/client/dhclient.c:4199: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).
					strlen(lease->server_name)) == 0 ) {
data/isc-dhcp-4.4.1/client/dhclient.c:4353:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	val = dmalloc (strlen (prefix) + strlen (name) + 1 /* = */ +
data/isc-dhcp-4.4.1/client/dhclient.c:4353:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	val = dmalloc (strlen (prefix) + strlen (name) + 1 /* = */ +
data/isc-dhcp-4.4.1/client/dhclient.c:4363:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	s += strlen (s);
data/isc-dhcp-4.4.1/common/alloc.c:308:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(name);
data/isc-dhcp-4.4.1/common/alloc.c:776:16:  [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).
	bp = dmalloc (strlen (hostname) + sizeof *bp, file, line);
data/isc-dhcp-4.4.1/common/bpf.c:464:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		length = read(interface->rfdesc, interface->rbuf,
data/isc-dhcp-4.4.1/common/comapi.c:239:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					       strlen (group -> name), MDL)) {
data/isc-dhcp-4.4.1/common/comapi.c:242:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						   strlen (group -> name),
data/isc-dhcp-4.4.1/common/comapi.c:279:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			group -> name = dmalloc (strlen (hnbuf) + 1, MDL);
data/isc-dhcp-4.4.1/common/discover.c:332:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(p->lifr_name) >= sizeof(info->name)) {
data/isc-dhcp-4.4.1/common/discover.c:345:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(info->name, p->lifr_name, sizeof(info->name) - 1);
data/isc-dhcp-4.4.1/common/discover.c:361:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(tmp.lifr_name, info->name, sizeof(tmp.lifr_name) - 1);
data/isc-dhcp-4.4.1/common/discover.c:445: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(ifaces->next->ifa_name) >= sizeof(info->name)) {
data/isc-dhcp-4.4.1/common/discover.c:452:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(info->name, ifaces->next->ifa_name, sizeof(info->name) - 1);
data/isc-dhcp-4.4.1/common/discover.c:646:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(tmp->name, info.name, sizeof(tmp->name) - 1);
data/isc-dhcp-4.4.1/common/discover.c:1570:26:  [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).
	tmp -> circuit_id_len = strlen (tmp -> name);
data/isc-dhcp-4.4.1/common/dlpi.c:645:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	length = read (interface -> rfdesc, dbuf, sizeof (dbuf));
data/isc-dhcp-4.4.1/common/dlpi.c:798: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).
		memcpy (devname, DLPI_DEVDIR, strlen (DLPI_DEVDIR));
data/isc-dhcp-4.4.1/common/dlpi.c:799: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).
		dp = &devname [strlen (DLPI_DEVDIR)];
data/isc-dhcp-4.4.1/common/dns.c:258:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	in_len = strlen(ns_cb->zname);
data/isc-dhcp-4.4.1/common/dns.c:263: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).
		temp_len = strlen(temp_cb->zname);
data/isc-dhcp-4.4.1/common/dns.c:674:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (name);
data/isc-dhcp-4.4.1/common/dns.c:1249: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(zone->name) > sizeof(ddns_cb->zone_name)) {
data/isc-dhcp-4.4.1/common/dns.c:1397:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(ns_cb->zname);
data/isc-dhcp-4.4.1/common/dns.c:2987:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(*orig, add, add_len);
data/isc-dhcp-4.4.1/common/dns.c:2998:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return (add_nstring(orig, max, add, strlen(add)));
data/isc-dhcp-4.4.1/common/dns.c:3043:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (s + strlen(en) + 16 < end) {
data/isc-dhcp-4.4.1/common/dns.c:3045:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s += strlen(s);
data/isc-dhcp-4.4.1/common/dns.c:3059:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (s + strlen(en) + strlen(ddns_address) +
data/isc-dhcp-4.4.1/common/dns.c:3059:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (s + strlen(en) + strlen(ddns_address) +
data/isc-dhcp-4.4.1/common/dns.c:3064: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).
			s += strlen(s);
data/isc-dhcp-4.4.1/common/dns.c:3072:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (s + strlen(en) + ddns_cb->fwd_name.len +
data/isc-dhcp-4.4.1/common/dns.c:3079: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).
			s += strlen(s);
data/isc-dhcp-4.4.1/common/dns.c:3087:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (s + strlen(en) < end) {
data/isc-dhcp-4.4.1/common/dns.c:3089: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).
			s += strlen(s);
data/isc-dhcp-4.4.1/common/dns.c:3097:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (s + strlen(en) + strlen((char *)ddns_cb->zone_name) < end) {
data/isc-dhcp-4.4.1/common/dns.c:3097:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (s + strlen(en) + strlen((char *)ddns_cb->zone_name) < end) {
data/isc-dhcp-4.4.1/common/dns.c:3099:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s += strlen(s);
data/isc-dhcp-4.4.1/common/dns.c:3138:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (s + strlen(en) + 10 < end) {
data/isc-dhcp-4.4.1/common/dns.c:3140:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s += strlen(s);
data/isc-dhcp-4.4.1/common/dns.c:3147:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (s + strlen(en) + strlen(result_str) < end) {
data/isc-dhcp-4.4.1/common/dns.c:3147:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (s + strlen(en) + strlen(result_str) < end) {
data/isc-dhcp-4.4.1/common/dns.c:3149:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s += strlen(s);
data/isc-dhcp-4.4.1/common/execute.c:207:43:  [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).
                        argv[0] = dmalloc(strlen(r->data.execute.command) + 1,
data/isc-dhcp-4.4.1/common/execute.c:364: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).
					    dmalloc(strlen
data/isc-dhcp-4.4.1/common/execute.c:450: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).
					    dmalloc(strlen
data/isc-dhcp-4.4.1/common/execute.c:920:20:  [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).
			col = (indent + strlen (s) + strlen (t) +
data/isc-dhcp-4.4.1/common/execute.c:920: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).
			col = (indent + strlen (s) + strlen (t) +
data/isc-dhcp-4.4.1/common/execute.c:921:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			       strlen (dot) + strlen (r -> data.option ->
data/isc-dhcp-4.4.1/common/execute.c:921:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			       strlen (dot) + strlen (r -> data.option ->
data/isc-dhcp-4.4.1/common/lpf.c:99:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (ifr.ifr_name, (const char *)info -> ifp, sizeof ifr.ifr_name);
data/isc-dhcp-4.4.1/common/lpf.c:530: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(name) >= sizeof(tmp.ifr_name)) {
data/isc-dhcp-4.4.1/common/memory.c:43:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				   strlen (group -> name), MDL);
data/isc-dhcp-4.4.1/common/memory.c:59:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				   group -> name, strlen (group -> name), MDL);
data/isc-dhcp-4.4.1/common/memory.c:84: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).
			     strlen (group -> name), MDL);
data/isc-dhcp-4.4.1/common/memory.c:104:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						   strlen (group -> name),
data/isc-dhcp-4.4.1/common/memory.c:119:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen (group -> name), group, MDL);
data/isc-dhcp-4.4.1/common/nit.c:351:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	length = read (interface -> rfdesc, ibuf, sizeof ibuf);
data/isc-dhcp-4.4.1/common/ns_name.c:714:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		added_len = strlen(dst);
data/isc-dhcp-4.4.1/common/ns_name.c:722:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return (strlen(dst_buf));
data/isc-dhcp-4.4.1/common/ns_name.c:766:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int copylen = ((comma != NULL) ? comma - src : strlen(src));
data/isc-dhcp-4.4.1/common/options.c:316:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen (universes [i] -> name) == t - s &&
data/isc-dhcp-4.4.1/common/options.c:1007:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ((s == NULL) || (*s != 'E') || (strlen(s) <= 2)) {
data/isc-dhcp-4.4.1/common/options.c:1392:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    name.len = strlen (s);
data/isc-dhcp-4.4.1/common/options.c:2217:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			op += strlen (op);
data/isc-dhcp-4.4.1/common/parse.c:52:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (e -> name) == length &&
data/isc-dhcp-4.4.1/common/parse.c:216:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!(s = (char *)dmalloc (strlen (val) + 1, MDL)))
data/isc-dhcp-4.4.1/common/parse.c:220:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len += strlen (s) + 1;
data/isc-dhcp-4.4.1/common/parse.c:244:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		unsigned l = strlen ((char *)(c -> car));
data/isc-dhcp-4.4.1/common/parse.c:399: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).
			val_len = strlen(val);
data/isc-dhcp-4.4.1/common/parse.c:773:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			t = (unsigned char *)dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/common/parse.c:1197:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	uname = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/common/parse.c:1337:21:  [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).
	nu_name = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/common/parse.c:1718:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					  val, strlen(val), MDL)) {
data/isc-dhcp-4.4.1/common/parse.c:1723:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (val) + tokix + 2 > sizeof (tokbuf))
data/isc-dhcp-4.4.1/common/parse.c:1727: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).
		tokix += strlen (val);
data/isc-dhcp-4.4.1/common/parse.c:2331:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(*result) -> data.set.name = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/common/parse.c:2357:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen (val), MDL));
data/isc-dhcp-4.4.1/common/parse.c:2451:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(*result) -> data.unset = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/common/parse.c:2680:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		i = strlen (zone -> name);
data/isc-dhcp-4.4.1/common/parse.c:2975:26:  [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).
		key -> name = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/common/parse.c:3018:21:  [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).
			    s = dmalloc (strlen (key -> algorithm) +
data/isc-dhcp-4.4.1/common/parse.c:3031:21:  [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).
			    s = dmalloc (strlen (key -> algorithm) + 2, MDL);
data/isc-dhcp-4.4.1/common/parse.c:3038:8:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			    strcat (s, ".");
data/isc-dhcp-4.4.1/common/parse.c:4321:39:  [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).
		(*expr) -> data.variable = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/common/parse.c:4406:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		cptr = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/common/parse.c:4747:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		(*expr) -> data.equal [0] = lhs;
data/isc-dhcp-4.4.1/common/parse.c:4748:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		(*expr) -> data.equal [1] = rhs;
data/isc-dhcp-4.4.1/common/parse.c:4761:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	tmp -> data.equal [0] = lhs;
data/isc-dhcp-4.4.1/common/parse.c:4762:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	tmp -> data.equal [1] = rhs;
data/isc-dhcp-4.4.1/common/parse.c:5040:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen (val);
data/isc-dhcp-4.4.1/common/parse.c:5604:43:  [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).
		IGNORE_RET (write (STDERR_FILENO, mbuf, strlen (mbuf)));
data/isc-dhcp-4.4.1/common/parse.c:5607:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				   strlen (cfile -> token_line)));
data/isc-dhcp-4.4.1/common/print.c:186: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).
			s += strlen (s);
data/isc-dhcp-4.4.1/common/print.c:513:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s += strlen (s);
data/isc-dhcp-4.4.1/common/print.c:566:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = 10 + strlen (expr -> data.check -> name);
data/isc-dhcp-4.4.1/common/print.c:578:44:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			rv += print_subexpression (expr -> data.equal [0],
data/isc-dhcp-4.4.1/common/print.c:581:44:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			rv += print_subexpression (expr -> data.equal [1],
data/isc-dhcp-4.4.1/common/print.c:593:44:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			rv += print_subexpression (expr -> data.equal [0],
data/isc-dhcp-4.4.1/common/print.c:596:44:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			rv += print_subexpression (expr -> data.equal [1],
data/isc-dhcp-4.4.1/common/print.c:608:41:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			rv += print_subexpression(expr->data.equal[0],
data/isc-dhcp-4.4.1/common/print.c:611:41:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			rv += print_subexpression(expr->data.equal[1],
data/isc-dhcp-4.4.1/common/print.c:712:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = 15 + strlen (expr -> data.host_lookup -> hostname);
data/isc-dhcp-4.4.1/common/print.c:723:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = strlen (s);
data/isc-dhcp-4.4.1/common/print.c:795:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = strlen (s) + 2 + (strlen (expr -> data.option -> name) +
data/isc-dhcp-4.4.1/common/print.c:795:26:  [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).
		rv = strlen (s) + 2 + (strlen (expr -> data.option -> name) +
data/isc-dhcp-4.4.1/common/print.c:796:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			   strlen (expr -> data.option -> universe -> name));
data/isc-dhcp-4.4.1/common/print.c:830:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = strlen (s);
data/isc-dhcp-4.4.1/common/print.c:833:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (buf, s, rv);
data/isc-dhcp-4.4.1/common/print.c:843:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (buf,
data/isc-dhcp-4.4.1/common/print.c:923:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = strlen (s);
data/isc-dhcp-4.4.1/common/print.c:931: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).
		rv = 10 + (strlen (expr -> data.option -> name) +
data/isc-dhcp-4.4.1/common/print.c:932:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			   strlen (expr -> data.option -> universe -> name));
data/isc-dhcp-4.4.1/common/print.c:942:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = 10 + strlen (expr -> data.variable);
data/isc-dhcp-4.4.1/common/print.c:950:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = strlen (expr -> data.variable);
data/isc-dhcp-4.4.1/common/print.c:960:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = strlen (s);
data/isc-dhcp-4.4.1/common/print.c:1065:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = strlen (s);
data/isc-dhcp-4.4.1/common/print.c:1066:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (len > strlen (s) + 1) {
data/isc-dhcp-4.4.1/common/print.c:1072:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (len > rv + strlen (s) + left) {
data/isc-dhcp-4.4.1/common/print.c:1074:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				rv += strlen (&buf [rv]);
data/isc-dhcp-4.4.1/common/print.c:1079:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (len > rv + strlen (s) + left) {
data/isc-dhcp-4.4.1/common/print.c:1081:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				rv += strlen (&buf [rv]);
data/isc-dhcp-4.4.1/common/print.c:1111:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rv = 12 + strlen (expr -> data.funcall.name);
data/isc-dhcp-4.4.1/common/print.c:1144:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (len > rv + 2 + strlen (foo -> string)) {
data/isc-dhcp-4.4.1/common/print.c:1147: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).
					rv += strlen (foo -> string);
data/isc-dhcp-4.4.1/common/print.c:1193:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len += strlen (s);
data/isc-dhcp-4.4.1/common/print.c:1206:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen (s);
data/isc-dhcp-4.4.1/common/print.c:1268:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len += strlen (prefix);
data/isc-dhcp-4.4.1/common/print.c:1270:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len += strlen (buf);
data/isc-dhcp-4.4.1/common/print.c:1282:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		col += strlen (prefix);
data/isc-dhcp-4.4.1/common/print.c:1286:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		col += strlen(buf);
data/isc-dhcp-4.4.1/common/print.c:1289:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (col + strlen (suffix) > 79) {
data/isc-dhcp-4.4.1/common/print.c:1294:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			col += strlen (suffix);
data/isc-dhcp-4.4.1/common/print.c:1469:21:  [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).
		abspath = dmalloc(strlen(buf) + 1, MDL);
data/isc-dhcp-4.4.1/common/print.c:1475:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		memcpy (abspath, buf, strlen(buf));
data/isc-dhcp-4.4.1/common/print.c:1476:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		abspath[strlen(buf)] = 0x0;
data/isc-dhcp-4.4.1/common/tests/dns_unittest.c:105:16:  [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).
		     name_1, strlen(name_1),
data/isc-dhcp-4.4.1/common/tests/dns_unittest.c:110:16:  [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).
		     name_2, strlen(name_2),
data/isc-dhcp-4.4.1/common/tests/dns_unittest.c:115:16:  [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).
		     name_3, strlen(name_3),
data/isc-dhcp-4.4.1/common/tests/misc_unittest.c:176: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).
    if (strlen(buf) != strlen(ref)) {
data/isc-dhcp-4.4.1/common/tests/misc_unittest.c:176:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(buf) != strlen(ref)) {
data/isc-dhcp-4.4.1/common/tests/ns_name_test.c:67:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ATF_REQUIRE_MSG((ret == strlen(text_list)),
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:234:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    a.len = strlen(str);
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:290:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    a.len = strlen(str);
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:327:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    a.len = strlen(str);
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:375:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    a.len = strlen(str);
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:431:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len_arg = strlen(src) + 1;
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:477:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int src_len = strlen(src);
data/isc-dhcp-4.4.1/common/tests/test_alloc.c:518:43:  [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 (data_string_new(&new_string, src, strlen(src), MDL) == 0) {
data/isc-dhcp-4.4.1/common/tree.c:81:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	cur_strlen = strlen((char *)ds->data);
data/isc-dhcp-4.4.1/common/tree.c:385:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(*result) -> data.let.name = dmalloc (strlen (name) + 1, MDL);
data/isc-dhcp-4.4.1/common/tree.c:577:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				nb -> name = dmalloc (strlen (s -> string) + 1,
data/isc-dhcp-4.4.1/common/tree.c:731:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
					     expr -> data.equal [0], MDL);
data/isc-dhcp-4.4.1/common/tree.c:735:25:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
					      expr -> data.equal [1], MDL);
data/isc-dhcp-4.4.1/common/tree.c:805:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
						 expr->data.equal[0], MDL);
data/isc-dhcp-4.4.1/common/tree.c:823:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
						  expr->data.equal[1], MDL);
data/isc-dhcp-4.4.1/common/tree.c:1885:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		result -> len = strlen (lease -> host -> name);
data/isc-dhcp-4.4.1/common/tree.c:2046: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).
					strlen((char *)result->buffer->data);
data/isc-dhcp-4.4.1/common/tree.c:2860:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (expr -> data.equal [0])
data/isc-dhcp-4.4.1/common/tree.c:2861:42:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			expression_dereference (&expr -> data.equal [0],
data/isc-dhcp-4.4.1/common/tree.c:2863:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (expr -> data.equal [1])
data/isc-dhcp-4.4.1/common/tree.c:2864:42:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			expression_dereference (&expr -> data.equal [1],
data/isc-dhcp-4.4.1/common/tree.c:3345:46:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		col = write_expression (file, expr -> data.equal [0],
data/isc-dhcp-4.4.1/common/tree.c:3348:46:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		col = write_expression (file, expr -> data.equal [1],
data/isc-dhcp-4.4.1/common/tree.c:4065:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		binding -> name = dmalloc (strlen (name) + 1, MDL);
data/isc-dhcp-4.4.1/common/upf.c:300:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	length = read (interface -> rfdesc, ibuf, sizeof ibuf);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:262:41:  [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).
	status = omapi_data_string_new (&name, strlen (value_name), MDL);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:265:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (name -> value, value_name, strlen (value_name));
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:295:41:  [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).
	status = omapi_data_string_new (&name, strlen (value_name), MDL);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:298:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (name -> value, value_name, strlen (value_name));
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:328:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ll = strlen (value_name);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:359:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ll = strlen (value_name);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:383:41:  [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).
	status = omapi_data_string_new (&name, strlen (value_name), MDL);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:386:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (name -> value, value_name, strlen (value_name));
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:412:41:  [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).
	status = omapi_data_string_new (&name, strlen (value_name), MDL);
data/isc-dhcp-4.4.1/dhcpctl/dhcpctl.c:415:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (name -> value, value_name, strlen (value_name));
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:190:43:  [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).
	    status = new_parse (&cfile, -1, buf, strlen(buf), "<STDIN>", 1);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:255: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).
			    len = strlen (val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:270: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).
			    len = strlen (val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:282: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).
			    len = strlen (val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:294: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).
			    len = strlen (val);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:307:20:  [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).
		    s = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:334:20:  [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).
		    s = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:363:21:  [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).
			    s = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:513:7:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		    strncat (s1, val, sizeof(s1)-strlen(s1)-1);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:513:36:  [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).
		    strncat (s1, val, sizeof(s1)-strlen(s1)-1);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:621:7:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		    strncat (s1, val, sizeof(s1)-strlen(s1)-1);
data/isc-dhcp-4.4.1/dhcpctl/omshell.c:621:36:  [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).
		    strncat (s1, val, sizeof(s1)-strlen(s1)-1);
data/isc-dhcp-4.4.1/dhcpctl/remote.c:56:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	key -> name = dmalloc (strlen (name) + 1, MDL);
data/isc-dhcp-4.4.1/dhcpctl/remote.c:67: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).
		key -> algorithm = dmalloc (strlen (algorithm) +
data/isc-dhcp-4.4.1/dhcpctl/remote.c:76: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).
		key -> algorithm = dmalloc (strlen (algorithm) + 1, MDL);
data/isc-dhcp-4.4.1/includes/tree.h:206:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		struct expression *equal [2];
data/isc-dhcp-4.4.1/omapip/alloc.c:79:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(out_of_memory)));
data/isc-dhcp-4.4.1/omapip/alloc.c:825: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).
		val = strlen (s);
data/isc-dhcp-4.4.1/omapip/buffer.c:203:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read_status = read (c -> socket,
data/isc-dhcp-4.4.1/omapip/buffer.c:681:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	unsigned len = strlen (name);
data/isc-dhcp-4.4.1/omapip/buffer.c:696:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen (string);
data/isc-dhcp-4.4.1/omapip/errwarn.c:72:44:  [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).
	  IGNORE_RET (write (STDERR_FILENO, mbuf, strlen (mbuf)));
data/isc-dhcp-4.4.1/omapip/errwarn.c:110:44:  [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).
	  IGNORE_RET (write (STDERR_FILENO, mbuf, strlen (mbuf)));
data/isc-dhcp-4.4.1/omapip/errwarn.c:137:44:  [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).
	  IGNORE_RET (write (STDERR_FILENO, mbuf, strlen (mbuf)));
data/isc-dhcp-4.4.1/omapip/errwarn.c:164:44:  [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).
	  IGNORE_RET (write (STDERR_FILENO, mbuf, strlen (mbuf)));
data/isc-dhcp-4.4.1/omapip/errwarn.c:193: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).
				len += strlen (m);
data/isc-dhcp-4.4.1/omapip/errwarn.c:197:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				p += strlen (p);
data/isc-dhcp-4.4.1/omapip/hash.c:40:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return strlen((const char *)key);
data/isc-dhcp-4.4.1/omapip/isclib.c:280: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).
	namelen = strlen((char *)namestr); 
data/isc-dhcp-4.4.1/omapip/iscprint.c:284:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					length = strlen(buf);
data/isc-dhcp-4.4.1/omapip/iscprint.c:291:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						      zeropad - strlen(head);
data/isc-dhcp-4.4.1/omapip/iscprint.c:296: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).
				count += strlen(head) + strlen(buf) + pad +
data/isc-dhcp-4.4.1/omapip/iscprint.c:296:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				count += strlen(head) + strlen(buf) + pad +
data/isc-dhcp-4.4.1/omapip/iscprint.c:347: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).
				length = strlen(cp);
data/isc-dhcp-4.4.1/omapip/iscprint.c:407:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			length = strlen(buf);
data/isc-dhcp-4.4.1/omapip/iscprint.c:501: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).
				length = strlen(buf);
data/isc-dhcp-4.4.1/omapip/support.c:361:40:  [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).
	status = omapi_data_string_new (&nds, strlen (name), MDL);
data/isc-dhcp-4.4.1/omapip/support.c:364:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (nds -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:378:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	status = omapi_data_string_new (&n, strlen (name), MDL);
data/isc-dhcp-4.4.1/omapip/support.c:381:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (n -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:402:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	status = omapi_data_string_new (&n, strlen (name), MDL);
data/isc-dhcp-4.4.1/omapip/support.c:405:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (n -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:426:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	status = omapi_data_string_new (&n, strlen (name), MDL);
data/isc-dhcp-4.4.1/omapip/support.c:429:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (n -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:450:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	status = omapi_data_string_new (&n, strlen (name), MDL);
data/isc-dhcp-4.4.1/omapip/support.c:453:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (n -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:492:40:  [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).
	status = omapi_data_string_new (&nds, strlen (name), MDL);
data/isc-dhcp-4.4.1/omapip/support.c:495:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (nds -> value, name, strlen (name));
data/isc-dhcp-4.4.1/omapip/support.c:586: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).
	slen = strlen (s2);
data/isc-dhcp-4.4.1/omapip/support.c:611: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).
	slen = strlen (s2);
data/isc-dhcp-4.4.1/omapip/support.c:636: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).
	slen = strlen (s2);
data/isc-dhcp-4.4.1/omapip/trace.c:181: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).
					   strlen (tptr -> name), file, line));
data/isc-dhcp-4.4.1/omapip/trace.c:318: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).
	unsigned slen = strlen (name);
data/isc-dhcp-4.4.1/omapip/trace.c:396:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen (tptr -> name);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:349:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				n = read(dfd[0], &buf, 1);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:528:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(argv[i]) >= sizeof(uplink->name)) {
data/isc-dhcp-4.4.1/relay/dhcrelay.c:535:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(uplink->name, argv[i],
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1450: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(ifname) >= sizeof(ifp->name)) {
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1522: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(ifname) >= sizeof(ifp->name)) {
data/isc-dhcp-4.4.1/relay/dhcrelay.c:1764: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).
					strlen(dhcrelay_sub_id),
data/isc-dhcp-4.4.1/relay/dhcrelay.c:2110:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int len = strlen(name);
data/isc-dhcp-4.4.1/relay/dhcrelay.c:2127:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tmp->name, name, len);
data/isc-dhcp-4.4.1/server/confpars.c:114:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		tflen = strlen (dbuf);
data/isc-dhcp-4.4.1/server/confpars.c:151:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	tflen = strlen (filename);
data/isc-dhcp-4.4.1/server/confpars.c:162:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	result = read (file, fbuf, ulen);
data/isc-dhcp-4.4.1/server/confpars.c:204:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	tflen = strlen (data);
data/isc-dhcp-4.4.1/server/confpars.c:912:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		name = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/server/confpars.c:1226:20:  [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).
			name = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/server/confpars.c:2029: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).
						val, strlen (val), MDL)) {
data/isc-dhcp-4.4.1/server/confpars.c:2173:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				      strlen (host -> name), MDL)) {
data/isc-dhcp-4.4.1/server/confpars.c:2265: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).
		data.len = strlen (val);
data/isc-dhcp-4.4.1/server/confpars.c:2282:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		name = dmalloc (strlen (tname) + 1, MDL);
data/isc-dhcp-4.4.1/server/confpars.c:2623:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		name = dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/server/confpars.c:2981: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).
		name = dmalloc(strlen(val) + 1, MDL);
data/isc-dhcp-4.4.1/server/confpars.c:3024:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						      strlen(name), MDL)) {
data/isc-dhcp-4.4.1/server/confpars.c:3171:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (tbuf, val, sizeof tbuf);
data/isc-dhcp-4.4.1/server/confpars.c:3562: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).
				    dmalloc (strlen (val) + 1, MDL);
data/isc-dhcp-4.4.1/server/confpars.c:4954:26:  [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).
					bnd->name = dmalloc(strlen(val) + 1,
data/isc-dhcp-4.4.1/server/confpars.c:5401:26:  [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).
					bnd->name = dmalloc(strlen(val) + 1,
data/isc-dhcp-4.4.1/server/confpars.c:5838:26:  [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).
					bnd->name = dmalloc(strlen(val) + 1,
data/isc-dhcp-4.4.1/server/ddns.c:269: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).
					      strlen(lease->host->name),
data/isc-dhcp-4.4.1/server/ddns.c:520: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).
				rname->len = strlen((const char *)rname->data);
data/isc-dhcp-4.4.1/server/ddns.c:973:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(lease_address, piaddr(ddns_cb->address),
data/isc-dhcp-4.4.1/server/ddns.c:1615:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(ddns_address, piaddr(ddns_cb->address),
data/isc-dhcp-4.4.1/server/dhcp.c:303:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen (lease -> client_hostname) <= 64) &&
data/isc-dhcp-4.4.1/server/dhcp.c:494:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen (lease -> client_hostname) <= 64) &&
data/isc-dhcp-4.4.1/server/dhcp.c:842:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen (lease -> client_hostname) <= 64) &&
data/isc-dhcp-4.4.1/server/dhcp.c:854:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cstr, inet_ntoa (packet -> raw -> ciaddr), 15);
data/isc-dhcp-4.4.1/server/dhcp.c:958:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen (lease -> client_hostname) <= 64) &&
data/isc-dhcp-4.4.1/server/dhcp.c:1824:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			      strlen (dhcp_message), 1, 0, MDL)) {
data/isc-dhcp-4.4.1/server/dhcp.c:3121: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).
	    strlen (lease -> client_hostname) == d1.len &&
data/isc-dhcp-4.4.1/server/dhcp.c:3467: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).
						     strlen (h -> h_name) + 1,
data/isc-dhcp-4.4.1/server/dhcp.c:3883:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen (lease -> client_hostname) <= 64) &&
data/isc-dhcp-4.4.1/server/dhcp.c:5587:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                            strlen(lease->host->name),
data/isc-dhcp-4.4.1/server/dhcpd.c:334:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(vstring)));
data/isc-dhcp-4.4.1/server/dhcpd.c:337:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(PACKAGE_VERSION)));
data/isc-dhcp-4.4.1/server/dhcpd.c:344:43:  [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).
			IGNORE_RET(write(STDERR_FILENO, pname, strlen(pname)));
data/isc-dhcp-4.4.1/server/dhcpd.c:347:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(DHCPD_USAGE0)));
data/isc-dhcp-4.4.1/server/dhcpd.c:349:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(DHCPD_USAGE1)));
data/isc-dhcp-4.4.1/server/dhcpd.c:352:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(DHCPD_USAGEP)));
data/isc-dhcp-4.4.1/server/dhcpd.c:356:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(DHCPD_USAGET)));
data/isc-dhcp-4.4.1/server/dhcpd.c:359:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(DHCPD_USAGEC)));
data/isc-dhcp-4.4.1/server/dhcpd.c:362:43:  [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).
			IGNORE_RET(write(STDERR_FILENO, pname, strlen(pname)));
data/isc-dhcp-4.4.1/server/dhcpd.c:365:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen(DHCPD_USAGEH)));
data/isc-dhcp-4.4.1/server/dhcpd.c:392:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				n = read(dfd[0], &buf, 1);
data/isc-dhcp-4.4.1/server/dhcpd.c:541:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(argv[i]) >= sizeof(tmp->name))
data/isc-dhcp-4.4.1/server/dhcpd.c:544:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					  argv[i], (long)strlen(argv[i]));
data/isc-dhcp-4.4.1/server/dhcpd.c:869:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			status = read(i, pbuf, (sizeof pbuf) - 1);
data/isc-dhcp-4.4.1/server/dhcpd.c:981:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			IGNORE_RET(write(i, pbuf, strlen(pbuf)));
data/isc-dhcp-4.4.1/server/dhcpd.c:1580:43:  [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).
		ip -> shared_network -> name = dmalloc (strlen (fnn) + 1, MDL);
data/isc-dhcp-4.4.1/server/dhcpleasequery.c:898:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	d.len = sizeof(code) + strlen(message);
data/isc-dhcp-4.4.1/server/dhcpv6.c:971:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	d.len = sizeof(status_code) + strlen(status_message);
data/isc-dhcp-4.4.1/server/dhcpv6.c:7549:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy((char *)ds.buffer->data, packet->interface->name, 16);
data/isc-dhcp-4.4.1/server/failover.c:556: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).
				slen = strlen(sname);
data/isc-dhcp-4.4.1/server/failover.c:564: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).
				slen = strlen(sname);
data/isc-dhcp-4.4.1/server/failover.c:3624:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			unsigned l = strlen (s -> name);
data/isc-dhcp-4.4.1/server/failover.c:3697:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ((strlen(state->name) == name->count) &&
data/isc-dhcp-4.4.1/server/failover.c:4005:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					  strlen (tbuf), tbuf);
data/isc-dhcp-4.4.1/server/failover.c:4510: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).
					strlen(state->name), state->name),
data/isc-dhcp-4.4.1/server/failover.c:4567: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).
					   strlen(state->name), state->name)
data/isc-dhcp-4.4.1/server/failover.c:4595:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					    strlen (errmsg), errmsg)
data/isc-dhcp-4.4.1/server/failover.c:4642:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						 strlen (message), message)
data/isc-dhcp-4.4.1/server/failover.c:4853:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						 strlen (message), message)
data/isc-dhcp-4.4.1/server/failover.c:5554:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				 : strlen (dhcp_failover_reject_reason_print
data/isc-dhcp-4.4.1/server/failover.c:5902: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).
	int len = strlen (s);
data/isc-dhcp-4.4.1/server/failover.c:6555:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen (value) <= 64) &&
data/isc-dhcp-4.4.1/server/ldap.c:194:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t cur = strlen(cfile->inbuf);
data/isc-dhcp-4.4.1/server/ldap.c:195:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(str);
data/isc-dhcp-4.4.1/server/ldap.c:202:10:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  return strncat(cfile->inbuf, str, cnt);
data/isc-dhcp-4.4.1/server/ldap.c:215:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  cfile->buflen = strlen(cfile->inbuf);
data/isc-dhcp-4.4.1/server/ldap.c:227:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen(src);
data/isc-dhcp-4.4.1/server/ldap.c:258:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(fqdnname, hp->h_name, fqdnname_size-1);
data/isc-dhcp-4.4.1/server/ldap.c:274:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          size_t alen = strlen(astr);
data/isc-dhcp-4.4.1/server/ldap.c:277:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(hostaddr, astr, hostaddr_size-1);
data/isc-dhcp-4.4.1/server/ldap.c:327: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).
          if(strlen(hostname) < hostaddr_size)
data/isc-dhcp-4.4.1/server/ldap.c:329:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(hostaddr, hostname, hostaddr_size-1);
data/isc-dhcp-4.4.1/server/ldap.c:368:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              size_t alen = strlen(astr);
data/isc-dhcp-4.4.1/server/ldap.c:371:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                  strncpy(hostaddr, astr, hostaddr_size-1);
data/isc-dhcp-4.4.1/server/ldap.c:819:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy (keyCn, cnFindStart, len);
data/isc-dhcp-4.4.1/server/ldap.c:1273:22:  [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).
      creds.bv_len = strlen(ldap_password);
data/isc-dhcp-4.4.1/server/ldap.c:1391:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (!gssapi_user || strlen(gssapi_user) == 0) {
data/isc-dhcp-4.4.1/server/ldap.c:1396:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (!gssapi_realm || strlen(gssapi_realm) == 0) {
data/isc-dhcp-4.4.1/server/ldap.c:1556:16:  [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).
  uri = malloc(strlen(ldap_server) + 16);
data/isc-dhcp-4.4.1/server/ldap.c:1665:22:  [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).
      creds.bv_len = strlen(ldap_password);
data/isc-dhcp-4.4.1/server/ldap.c:2166: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).
  ret = dmalloc (strlen (name[0]->bv_val) + 1, MDL);
data/isc-dhcp-4.4.1/server/ldap.c:2398:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          length = strlen (tempbv[cnt]->bv_val);
data/isc-dhcp-4.4.1/server/ldap.c:2805:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (_do_ldap_str2esc_filter_bv(class->name, strlen (class->name), &bv_class) == NULL)
data/isc-dhcp-4.4.1/server/ldap.c:3115:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size = strlen(ldap_inst->sasl_authz_id);
data/isc-dhcp-4.4.1/server/ldap.c:3122:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size = strlen(ldap_inst->sasl_realm);
data/isc-dhcp-4.4.1/server/ldap.c:3129:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size = strlen(ldap_inst->sasl_authc_id);
data/isc-dhcp-4.4.1/server/ldap.c:3136:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size = strlen(ldap_inst->sasl_password);
data/isc-dhcp-4.4.1/server/ldap_casa.c:119: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).
      applicationSecretId.len = strlen(applicationName) + 1;
data/isc-dhcp-4.4.1/server/ldap_krb_helper.c:86:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    strlen(realm), realm,
data/isc-dhcp-4.4.1/server/mdb.c:235:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			       strlen (hd -> name), hd, MDL);
data/isc-dhcp-4.4.1/server/mdb.c:239:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				  strlen (hd -> name), MDL);
data/isc-dhcp-4.4.1/server/mdb.c:245:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					  strlen (hd -> name), MDL);
data/isc-dhcp-4.4.1/server/mdb.c:269: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).
				       strlen (hd -> name), hd, MDL);
data/isc-dhcp-4.4.1/server/mdb.c:590:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				      strlen (hd -> name), MDL)) {
data/isc-dhcp-4.4.1/server/mdb.c:594: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).
						  strlen (hd -> name), MDL);
data/isc-dhcp-4.4.1/server/mdb.c:1066:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (name) > sizeof ip -> name) {
data/isc-dhcp-4.4.1/server/mdb.c:1688:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			dmalloc (strlen (lease -> client_hostname) + 1, MDL);
data/isc-dhcp-4.4.1/server/mdb6.c:2777:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					used = strlen(bufptr);
data/isc-dhcp-4.4.1/server/mdb6.c:2783:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					used = strlen(bufptr);
data/isc-dhcp-4.4.1/server/omapi.c:1239:28:  [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).
			host -> name = dmalloc (strlen (hnbuf) + 1, MDL);
data/isc-dhcp-4.4.1/server/omapi.c:2045:28:  [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 (class->name == 0 || strlen(class->name) == 0) {
data/isc-dhcp-4.4.1/server/omapi.c:2555:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen (bp -> name);
data/isc-dhcp-4.4.1/server/tests/hash_unittest.c:81:20:  [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).
        real_len = strlen((const char *)uid) + 1;
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:391: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).
    ds.len = strlen(uid);
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:597: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).
    ds.len = strlen(uid);
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:697: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).
    ds.len = strlen(uid);
data/isc-dhcp-4.4.1/server/tests/mdb6_unittest.c:820: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).
    ds.len = strlen(uid);
data/isc-dhcp-4.4.1/tests/t_api.c:283:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(T_buf);
data/isc-dhcp-4.4.1/tests/t_api.c:364:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(T_buf);
data/isc-dhcp-4.4.1/tests/t_api.c:439:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(name);
data/isc-dhcp-4.4.1/tests/t_api.c:549:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((c = fgetc(fp)) != EOF) {

ANALYSIS SUMMARY:

Hits = 1564
Lines analyzed = 129775 in approximately 3.38 seconds (38349 lines/second)
Physical Source Lines of Code (SLOC) = 93166
Hits@level = [0] 324 [1] 370 [2] 990 [3]  52 [4] 152 [5]   0
Hits@level+ = [0+] 1888 [1+] 1564 [2+] 1194 [3+] 204 [4+] 152 [5+]   0
Hits/KSLOC@level+ = [0+] 20.2649 [1+] 16.7872 [2+] 12.8158 [3+] 2.18964 [4+] 1.6315 [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.