commit | aa68c20ff32f9a6fb3ca7f93ed9beae01899d00d | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Wed Nov 26 13:42:20 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 26 15:29:01 2014 -0500 |
tree | 92ea43345e093ad57f1068a52577428be4b45e9f | |
parent | 6f705d8cfc0af3607aed890c53d86255e315c6f4 [diff] |
bridge: Sanitize IFLA_EXT_MASK for AF_BRIDGE:RTM_GETLINK Only search for IFLA_EXT_MASK if the message actually carries a ifinfomsg header and validate minimal length requirements for IFLA_EXT_MASK. Fixes: 6cbdceeb ("bridge: Dump vlan information from a bridge port") Cc: Vlad Yasevich <vyasevic@redhat.com> Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>