android_kernel_google_msm/arch/x86/platform
Ben Hutchings 354ad5e4dd x86/efi: Fix dummy variable buffer allocation
commit b8cb62f821 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 <ben@decadent.org.uk>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Cc: Rui Xiang <rui.xiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 16:02:10 -07:00
..
ce4100
efi x86/efi: Fix dummy variable buffer allocation 2014-06-07 16:02:10 -07:00
geode arch/x86/platform/geode/net5501.c: change active_low to 0 for LED driver 2012-05-04 14:40:07 -07:00
iris
mrst x86/mrst: Quiet sparse noise about plain integer as NULL pointer 2012-04-25 12:47:08 +02:00
olpc x86/olpc: Add debugfs interface for EC commands 2012-03-27 20:54:52 +02:00
scx200
sfi
uv x86/uv: Fix UV2 BAU legacy mode 2012-06-17 11:21:23 -07:00
visws
Makefile