NLA_BINARY misuse bug in HSR
authorPeter Heise <mail@pheise.de>
Tue, 19 Apr 2016 11:34:28 +0000 (13:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 17:59:08 +0000 (13:59 -0400)
commitf937572925d8d7beb5aca1cf180e8b9af623a903
tree8b5f6cd9364293cb2640e4c6bc5e650c81897388
parentb7de529c793c9131e58ddca37d49fd26866aa867
NLA_BINARY misuse bug in HSR

Removed .type field from NLA to do proper length checking.
Reported by Daniel Borkmann and Julia Lawall.

Signed-off-by: Peter Heise <peter.heise@airbus.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_netlink.c