Ben Hutchings b8cb62f821 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 <ben@decadent.org.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2013-06-21 10:52:49 +01:00
..
2013-06-10 21:59:37 +01:00
2013-06-10 21:59:37 +01:00
2013-05-09 13:15:08 +03:00
2013-05-11 16:19:30 -07:00
2013-05-11 16:19:30 -07:00
2013-05-09 09:59:16 -07:00