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.2.48~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b35b16d2be61943373f16ceb6184a66da84ab229;p=pandora-kernel.git x86/efi: Fix dummy variable buffer allocation commit b8cb62f82103083a6e8fa5470bfe634a2c06514d upstream. 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 Signed-off-by: Matt Fleming --- Reading git-diff-tree failed