Files
linux-apfs/drivers/acpi
Lv Zheng 9a0a359725 ACPICA: Resources: Fix loop termination for the get AML length function.
The loop terminates on a NULL resource pointer, which can never
happen since the loop simply increments a valid resource pointer.
This fix changes the loop to terminate on an end-of-buffer condition.

Problem can be seen by callers to AcpiSetCurrentResources with an
invalid or corrupted resource descriptor; or a resource descriptor
without an END_TAG descriptor.

(refined by Bob Moore)
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-11-21 13:47:04 +01:00
..
2013-08-27 01:29:04 +02:00
2013-08-27 01:29:04 +02:00
2013-04-28 01:54:08 +02:00
2013-08-27 01:29:04 +02:00
2013-08-30 14:13:50 +02:00
2013-08-23 10:22:29 +02:00
2013-08-27 01:29:04 +02:00
2013-08-29 17:23:33 -06:00
2013-08-27 01:28:17 +02:00
2013-09-10 23:14:53 +02:00
2013-08-27 01:29:04 +02:00
2013-01-17 14:11:06 +01:00
2013-08-30 14:13:50 +02:00
2013-08-27 01:25:28 +02:00
2013-08-27 01:40:40 +02:00