summaryrefslogtreecommitdiffstats
path: root/sys/net/if_mpe.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2021-03-18 14:08:01 +0000
committerclaudio <claudio@openbsd.org>2021-03-18 14:08:01 +0000
commit5d2a5cd687f41a7c526553b2238200dce3ffba8b (patch)
tree5a6d9f126122e1c8a866ad9c040ff44db5a5314f /sys/net/if_mpe.c
parentInitialize rsyncpid and httppid in the noop case. It seem gcc is not able (diff)
downloadwireguard-openbsd-5d2a5cd687f41a7c526553b2238200dce3ffba8b.tar.xz
wireguard-openbsd-5d2a5cd687f41a7c526553b2238200dce3ffba8b.zip
Do not assign the return value from asprintf (int) to a size_t and then
compare it to -1. Instead use a temp variable and assign to bufsz after the -1 check. Also add errx() calls after the switch statements in the FSM functions. OK job@ tb@
Diffstat (limited to 'sys/net/if_mpe.c')
0 files changed, 0 insertions, 0 deletions