summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2015-02-11 05:57:44 +0000
committerclaudio <claudio@openbsd.org>2015-02-11 05:57:44 +0000
commit242fc2ef7f58aa5e86150b4fcabfdf9e52bbea3d (patch)
treef55a554e7c76b333df8869434ae0f822754f3a5c /lib
parentUse sizeof(u_short) in the first check since there are RT messages that (diff)
downloadwireguard-openbsd-242fc2ef7f58aa5e86150b4fcabfdf9e52bbea3d.tar.xz
wireguard-openbsd-242fc2ef7f58aa5e86150b4fcabfdf9e52bbea3d.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