From: David Teigland Date: Mon, 4 Feb 2013 21:31:22 +0000 (-0600) Subject: dlm: check the write size from user X-Git-Tag: v3.8-rc7~15^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4b0bcf32b946590afd29e202d6a399b84fe6c67;p=pandora-kernel.git dlm: check the write size from user Return EINVAL from write if the size is larger than allowed. Do this before allocating kernel memory for the bogus size, which could lead to OOM. Reported-by: Sasha Levin Tested-by: Jana Saout Signed-off-by: David Teigland --- Reading git-diff-tree failed