summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2015-02-11 05:56:51 +0000
committerclaudio <claudio@openbsd.org>2015-02-11 05:56:51 +0000
commit5a21f116aeb0716b16f7911629e2b0879a6e6908 (patch)
tree03f4969ab41663db044dc5625962ab0bbf55a70a /lib/libc
parentsync (diff)
downloadwireguard-openbsd-5a21f116aeb0716b16f7911629e2b0879a6e6908.tar.xz
wireguard-openbsd-5a21f116aeb0716b16f7911629e2b0879a6e6908.zip
Use sizeof(u_short) in the first check since there are RT messages that
are less then sizeof(*rtm) bytes long (e.g. interface announcements). Found the hard way by phessler@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions