From: Ben Hutchings Date: Sun, 16 Jun 2013 20:27:12 +0000 (+0100) Subject: x86/efi: Fix dummy variable buffer allocation X-Git-Tag: v3.10-rc7~8^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8cb62f82103083a6e8fa5470bfe634a2c06514d;p=pandora-kernel.git x86/efi: Fix dummy variable buffer allocation 1. Check for allocation failure 2. Clear the buffer contents, as they may actually be written to flash 3. Don't leak the buffer Compile-tested only. [ Tested successfully on my buggy ASUS machine - Matt ] Signed-off-by: Ben Hutchings Cc: stable@vger.kernel.org Signed-off-by: Matt Fleming --- Reading git-diff-tree failed