aboutsummaryrefslogtreecommitdiff
path: root/sbin/rcorder
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2017-04-13 17:47:44 +0000
committerConrad Meyer <cem@FreeBSD.org>2017-04-13 17:47:44 +0000
commitbcd8d3b80510a291f3fcbe47e3851d323bd4ee1c (patch)
tree667fb6fe4ae7bd9fa9ef4cfe895f51ee31af8b27 /sbin/rcorder
parentc6943f3abced25dfa1ea85bf2edbad8803111237 (diff)
downloadsrc-bcd8d3b80510a291f3fcbe47e3851d323bd4ee1c.tar.gz
src-bcd8d3b80510a291f3fcbe47e3851d323bd4ee1c.zip
dummynet: Use strlcpy to appease static checkers
Some dummynet modules used strcpy() to copy from a larger buffer (dn_aqm->name) to a smaller buffer (dn_extra_parms->name). It happens that the lengths of the strings in the dn_aqm buffers were always hardcoded to be smaller than the dn_extra_parms buffer ("CODEL", "PIE"). Use strlcpy() instead, to appease static checkers. No functional change. Reported by: Coverity CIDs: 1356163, 1356165 Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=316777
Diffstat (limited to 'sbin/rcorder')
0 files changed, 0 insertions, 0 deletions