aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-08-18 19:40:03 +0000
committerRafael J. Wysocki <[email protected]>2023-08-21 18:28:20 +0000
commit883cf0d4cf288313b71146ddebdf5d647b76c78b (patch)
tree546a691f18840f81403048864c8704669ed91f3e /tools/perf/scripts/python
parentACPI: x86: s2idle: Post-increment variables when getting constraints (diff)
downloadkernel-883cf0d4cf288313b71146ddebdf5d647b76c78b.tar.gz
kernel-883cf0d4cf288313b71146ddebdf5d647b76c78b.zip
ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
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 <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions