android_kernel_motorola_sm6375/tools/power
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Zhongqiu Han 34a9394794 pm: cpupower: bench: Prevent NULL dereference on malloc failure
[ Upstream commit 208baa3ec9043a664d9acfb8174b332e6b17fb69 ]

If malloc returns NULL due to low memory, 'config' pointer can be NULL.
Add a check to prevent NULL dereference.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Zhongqiu Han <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2025-05-02 07:39:09 +02:00
..
acpi
cpupower pm: cpupower: bench: Prevent NULL dereference on malloc failure 2025-05-02 07:39:09 +02:00
pm-graph
x86 tools/power turbostat: Fix Bzy_MHz documentation typo 2024-05-17 11:43:51 +02:00