diff options
author | 2015-02-11 05:58:57 +0000 | |
---|---|---|
committer | 2015-02-11 05:58:57 +0000 | |
commit | e9d1625cd72d91a87593b0305a6b0dc4636dee30 (patch) | |
tree | 03634d8dbf44b328387cfc33551ff5ece4ce1822 /lib | |
parent | Use sizeof(u_short) in the first check since there are RT messages that (diff) | |
download | wireguard-openbsd-e9d1625cd72d91a87593b0305a6b0dc4636dee30.tar.xz wireguard-openbsd-e9d1625cd72d91a87593b0305a6b0dc4636dee30.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