From: Matthew Garrett Date: Thu, 3 May 2012 20:50:46 +0000 (-0400) Subject: efivars: Improve variable validation X-Git-Tag: v3.2.17~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=103f468a50f7bd31eb6f47f2f3dc4a4009d9f470;p=pandora-kernel.git efivars: Improve variable validation commit 54b3a4d311c98ad94b737802a8b5f2c8c6bfd627 upstream. 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 Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed