From: Andy King Date: Thu, 19 Feb 2015 18:33:56 +0000 (-0800) Subject: VMCI: Check userland-provided datagram size X-Git-Tag: omap-for-v4.2/o2_dc~63^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74b5c297f5ecbef0ca128fa7b385b43f036a7984;p=pandora-kernel.git VMCI: Check userland-provided datagram size Ensure that the size filled in by userland in the datagram header matches the size of the buffer passed down in the IOCTL. Note that we account for the size of the header itself in the check. Acked-by: Jorgen Hansen Acked-by: Aditya Sarwade Signed-off-by: Andy King Reported-by: David Ramos Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed