diff options
author | 2017-12-15 14:20:52 +0000 | |
---|---|---|
committer | 2017-12-15 14:20:52 +0000 | |
commit | 08e293d1d8094d6076f4760a75ceb05868dbd5a2 (patch) | |
tree | 05770353a76d42b4c29368a913d23b08fbf66bc6 /lib/libc | |
parent | Instead of pointlessly falling through other cases and ending up doing (diff) | |
download | wireguard-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