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