Mario Limonciello 1ea7e47807 ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
[ Upstream commit 883cf0d4cf288313b71146ddebdf5d647b76c78b ]

If a badly constructed firmware includes multiple `ACPI_TYPE_PACKAGE`
objects while evaluating the AMD LPS0 _DSM, there will be a memory
leak.  Explicitly guard against this.

Suggested-by: Bjorn Helgaas <helgaas@kernel.org>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:11:00 +02:00
..
2022-10-03 20:09:22 +02:00
2022-04-05 10:24:38 +02:00
2022-05-25 15:37:07 +02:00
2022-12-31 13:31:55 +01:00
2022-10-05 10:38:24 -07:00
2022-01-22 08:33:37 +02:00
2022-09-30 20:05:16 +02:00
2023-09-02 09:16:18 +02:00
2022-10-03 20:09:22 +02:00