ACPICA: Prevent infinite loops when traversing corrupted lists.
authorBob Moore <robert.moore@intel.com>
Wed, 26 Feb 2014 02:33:47 +0000 (10:33 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Mar 2014 00:52:18 +0000 (01:52 +0100)
commitf953529f3b659a72c0982c2cf195158db96361f1
tree48eeb4fe487c2c0c82add70e8b71edea9a14f37d
parenta487af33a4f0f5ced860ab18c4a740b97b435a3e
ACPICA: Prevent infinite loops when traversing corrupted lists.

This change hardens the ACPICA code to detect circular linked object
lists and prevent an infinite loop if such corruption exists.

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>
drivers/acpi/acpica/evregion.c
drivers/acpi/acpica/nsobject.c
drivers/acpi/acpica/utdelete.c