summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_bus.c
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2017-04-27 07:32:07 +0000
committertruckman <truckman@FreeBSD.org>2017-04-27 07:32:07 +0000
commiteae5c4881723780e3c97cd05ec06fe55bc8f0c45 (patch)
tree98bdb75cdee65de8546e812c1e059a4ff940fa61 /sys/kern/subr_bus.c
parente155e5ae7c337c6cd0a26de3644aaa5cb55deff9 (diff)
downloadFreeBSD-src-eae5c4881723780e3c97cd05ec06fe55bc8f0c45.zip
FreeBSD-src-eae5c4881723780e3c97cd05ec06fe55bc8f0c45.tar.gz
MFC r316777 (by cem)
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
Diffstat (limited to 'sys/kern/subr_bus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud