do not allow whitespace in macro names, i.e. "this is" = "a variable".
authorbenno <benno@openbsd.org>
Tue, 21 Jun 2016 21:35:24 +0000 (21:35 +0000)
committerbenno <benno@openbsd.org>
Tue, 21 Jun 2016 21:35:24 +0000 (21:35 +0000)
commit0c7b4ca6ee98f27c9efdfffb3fb9399787634128
tree984fb44c72b029d42c34d3742398657cf6b2bd26
parent8dcc4a411c4c818a90804a6b9eb09a46ac25a0ef
do not allow whitespace in macro names, i.e. "this is" = "a variable".
change this in all config parsers in our tree that support macros.
problem reported by sven falempin.

feedback from henning@, stsp@, deraadt@
ok florian@ mikeb@
20 files changed:
sbin/iked/parse.y
sbin/ipsecctl/parse.y
sbin/pfctl/parse.y
usr.sbin/bgpd/parse.y
usr.sbin/dvmrpd/parse.y
usr.sbin/eigrpd/parse.y
usr.sbin/hostapd/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/ospf6d/parse.y
usr.sbin/ospfd/parse.y
usr.sbin/relayd/parse.y
usr.sbin/ripd/parse.y
usr.sbin/smtpd/parse.y
usr.sbin/snmpd/parse.y
usr.sbin/vmd/parse.y
usr.sbin/ypldap/parse.y