From: Matthew Garrett Date: Thu, 3 May 2012 20:50:46 +0000 (-0400) Subject: efivars: Improve variable validation X-Git-Tag: v3.4-rc6~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54b3a4d311c98ad94b737802a8b5f2c8c6bfd627;p=pandora-kernel.git efivars: Improve variable validation Ben Hutchings pointed out that the validation in efivars was inadequate - most obviously, an entry with size 0 would server as a DoS against the kernel. Improve this based on his suggestions. Signed-off-by: Matthew Garrett Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed