]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPICA: Fix possible buffer overflow during a field unit read operation
authorBob Moore <robert.moore@intel.com>
Wed, 8 May 2013 04:01:15 +0000 (04:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 May 2013 18:38:12 +0000 (11:38 -0700)
commita58e4edcf73d47ff26456ba162a613db2141b6f7
tree8eb45a433b885de873fbb77341e741ca384007f0
parentccd72f9a3fecf9c882973adf69b8d3a675871e01
ACPICA: Fix possible buffer overflow during a field unit read operation

commit 61388f9e5d93053cf399a356414f31f9b4814c6d upstream.

Can only happen under these conditions: 1) The DSDT version is 1,
meaning integers are 32-bits.  2) The field is between 33 and 64
bits long.

It applies cleanly back to ACPICA 20100806+ (Linux v2.6.37+).

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/acpica/exfldio.c