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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 May 2013 13:31:37 +0000 (15:31 +0200)
commit61388f9e5d93053cf399a356414f31f9b4814c6d
treef50814ce10be2256c65aeb83dbd4482733486fff
parent371deb9500831ad1afbf9ea00e373f650deaed2f
ACPICA: Fix possible buffer overflow during a field unit read operation

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>
Cc: 2.6.37+ <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/exfldio.c