summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2015-02-11 05:58:08 +0000
committerclaudio <claudio@openbsd.org>2015-02-11 05:58:08 +0000
commit1c6429008f048ad6889f47f1f5daaa31c8a93f43 (patch)
treeef6d830638b3b08dcca5b4817f1f9667f87efc36 /lib
parentUse sizeof(u_short) in the first check since there are RT messages that (diff)
downloadwireguard-openbsd-1c6429008f048ad6889f47f1f5daaa31c8a93f43.tar.xz
wireguard-openbsd-1c6429008f048ad6889f47f1f5daaa31c8a93f43.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')
0 files changed, 0 insertions, 0 deletions