aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2024-11-28 10:04:23 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2024-11-28 10:04:23 +0000
commit949190c5afbc677c53b5d96354b52256923a11d1 (patch)
treebc1087d87e9dc59016393e13654fc8c1711736ba /libexec
parent1811fa623d74b42f79c109c3fe8ea9dd21d60076 (diff)
udp: Prefer memcpy() over bcopy()
The variable b[] is on the stack, thus cannot overlap with ipov, which points to the heap area, so prefer memcpy() over memmove(), aka bcopy(). No functional change intended. Reviewed by: cc, rrs, cy, #transport, #network MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47713
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions