summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2017-12-15 14:20:52 +0000
committertb <tb@openbsd.org>2017-12-15 14:20:52 +0000
commit08e293d1d8094d6076f4760a75ceb05868dbd5a2 (patch)
tree05770353a76d42b4c29368a913d23b08fbf66bc6 /lib/libc
parentInstead of pointlessly falling through other cases and ending up doing (diff)
downloadwireguard-openbsd-08e293d1d8094d6076f4760a75ceb05868dbd5a2.tar.xz
wireguard-openbsd-08e293d1d8094d6076f4760a75ceb05868dbd5a2.zip
Use the canonical idiom to check strlcat(3). An unchecked strlcat call
led to unexpected output: compare 'jot -w $(printf %1020s)%d%' 1 1' with 'jot -w $(printf %1019s)%d%' 1 1'. found by & ok martijn
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions