replace malloc()+strlcpy() with strndup() in cmdline_symset().
authormiko <miko@openbsd.org>
Fri, 7 Sep 2018 07:35:30 +0000 (07:35 +0000)
committermiko <miko@openbsd.org>
Fri, 7 Sep 2018 07:35:30 +0000 (07:35 +0000)
commited1b9eb881714d81d85f14afa35f51254e80d5b6
treea7e9c90d1e807274ba7f0b178c37c63c7b6aea46
parentd9ca134e8ad9cbe1a80d5edf8dfeb27f9d9b6154
replace malloc()+strlcpy() with strndup() in cmdline_symset().

"looks good" gilles@ halex@
20 files changed:
usr.sbin/acme-client/parse.y
usr.sbin/bgpd/parse.y
usr.sbin/dvmrpd/parse.y
usr.sbin/eigrpd/parse.y
usr.sbin/httpd/parse.y
usr.sbin/ifstated/parse.y
usr.sbin/iscsictl/parse.y
usr.sbin/ldapd/parse.y
usr.sbin/ldpd/parse.y
usr.sbin/lpd/parse.y
usr.sbin/ospf6d/parse.y
usr.sbin/ospfd/parse.y
usr.sbin/rad/parse.y
usr.sbin/relayd/parse.y
usr.sbin/ripd/parse.y
usr.sbin/smtpd/parse.y
usr.sbin/snmpd/parse.y
usr.sbin/switchd/parse.y
usr.sbin/vmd/parse.y
usr.sbin/ypldap/parse.y