aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/microcode_intel.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2010-01-30 18:01:42 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-02-23 07:37:54 -0800
commit06eeea406c93680a55dd333971638af7289f8f7b (patch)
treef15a841d8424f0b563698c84e49911c1c9e97a5c /arch/x86/kernel/microcode_intel.c
parent9f835c304f14fe5ad4f435c58e9c1e08fda71886 (diff)
dell-wmi, hp-wmi, msi-wmi: check wmi_get_event_data() return value
commit fda11e61ff8a4e3a8ebbd434e46560b67cc0ca9d upstream [ backport to 2.6.32 ] When acpi_evaluate_object() is passed ACPI_ALLOCATE_BUFFER, the caller must kfree the returned buffer if AE_OK is returned. The callers of wmi_get_event_data() pass ACPI_ALLOCATE_BUFFER, and thus must check its return value before accessing or kfree() on the buffer. Signed-off-by: Len Brown <len.brown@intel.com> Cc: Chuck Ebbert <cebbert@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/x86/kernel/microcode_intel.c')
0 files changed, 0 insertions, 0 deletions