diff options
author | 2015-02-11 05:57:44 +0000 | |
---|---|---|
committer | 2015-02-11 05:57:44 +0000 | |
commit | 242fc2ef7f58aa5e86150b4fcabfdf9e52bbea3d (patch) | |
tree | f55a554e7c76b333df8869434ae0f822754f3a5c /lib | |
parent | Use sizeof(u_short) in the first check since there are RT messages that (diff) | |
download | wireguard-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