Just to be pedantic, fail if strlcpy managed to overflow the socket path.
authorreyk <reyk@openbsd.org>
Sun, 20 Apr 2014 16:07:10 +0000 (16:07 +0000)
committerreyk <reyk@openbsd.org>
Sun, 20 Apr 2014 16:07:10 +0000 (16:07 +0000)
commit29430719896ea7aa3e7efb38e123180b7982b025
treec70fc72eadcc3c99baf5fb0c8311e9e342b9fd4d
parent4b81c52b8b7d70161bf17c2a66401ed8c44c3b19
Just to be pedantic, fail if strlcpy managed to overflow the socket path.
usr.sbin/relayd/agentx.c
usr.sbin/snmpd/agentx.c