]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the size of the destination buffer instead of the malloc size, repeated, in order
authorngie <ngie@FreeBSD.org>
Sat, 14 May 2016 22:40:35 +0000 (22:40 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 14 May 2016 22:40:35 +0000 (22:40 +0000)
commit78ec2149ecb3e0845ce3724d24712b6c349866b0
tree4c24510bba0dac7ded13c95d6553b22b4b147979
parent62491879cb973d54ff02598de9719c51a8640221
Use the size of the destination buffer instead of the malloc size, repeated, in order
to mute a -Wstrlcpy-strlcat-size warning

MFC after: 1 week
Reported by: clang
Sponsored by: EMC / Isilon Storage Division
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c