linux-pinenote/arch/x86/platform/efi
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
..
efi-bgrt.c x86/EFI: Properly init-annotate BGRT code 2013-01-24 17:12:18 +01:00
efi.c x86/efi: Fix dummy variable buffer allocation 2013-06-21 10:52:49 +01:00
efi_32.c x86, efi: Make efi_call_phys_{prelog,epilog} CONFIG_RELOCATABLE-aware 2011-12-09 16:39:11 -08:00
efi_64.c Include missing linux/slab.h inclusions 2013-04-29 15:42:01 -04:00
efi_stub_32.S
efi_stub_64.S
Makefile efi: Fix the ACPI BGRT driver for images located in EFI boot services memory 2012-09-29 12:21:03 -07:00