From: Hagen Paul Pfeifer Date: Wed, 15 Feb 2012 04:09:46 +0000 (+0000) Subject: veth: Enforce minimum size of VETH_INFO_PEER X-Git-Tag: v3.2.9~49 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b21abc775d2095a517f74f6df989569e3131e9c7;p=pandora-kernel.git veth: Enforce minimum size of VETH_INFO_PEER [ Upstream commit 237114384ab22c174ec4641e809f8e6cbcfce774 ] VETH_INFO_PEER carries struct ifinfomsg plus optional IFLA attributes. A minimal size of sizeof(struct ifinfomsg) must be enforced or we may risk accessing that struct beyond the limits of the netlink message. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed