freebsd-dev/usr.sbin/tcpdrop
Eric van Gyzen 1de11cd4e1 tcpdrop: ensure NUL termination of a string
strncpy did not guarantee NUL termination of the "stack" string.
Use strlcpy instead.  While I'm here, avoid unnecessary memset
and strnlen calls.

Reported by:	Coverity
CID:		1381035
Sponsored by:	Dell EMC
2018-05-28 01:58:49 +00:00
..
Makefile
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tcpdrop.8 Remove empty line accidently introduced in r323626. 2017-09-15 20:41:12 +00:00
tcpdrop.c tcpdrop: ensure NUL termination of a string 2018-05-28 01:58:49 +00:00