add missing strlcpy() check in create_filter_chain() that would cause smtpd
authorgilles <gilles@openbsd.org>
Sat, 19 Apr 2014 17:23:19 +0000 (17:23 +0000)
committergilles <gilles@openbsd.org>
Sat, 19 Apr 2014 17:23:19 +0000 (17:23 +0000)
commit325d28effc5f5df169c3a9d9b4c9fa9bb7d5472d
treec2db6732f5da3dd4cb45b4810e5fa78bf3b4fed1
parenta3468cca80fa967a676a78ebb010f9164c5ad45d
add missing strlcpy() check in create_filter_chain() that would cause smtpd
to fatal at startup if truncation occured and we had enabled filters

(void) cast a strlcpy() that cannot truncate
usr.sbin/smtpd/parse.y