Logo
Explore Help
Sign In
linuxmsm/laptops-kernel
Watch 0
Star 0
Fork 0
mirror of https://github.com/linux-msm/laptops-kernel.git synced 2026-08-13 14:19:53 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
master
laptops-kernel/tools/power/cpupower/bench
T
History
Zhongqiu HanandShuah Khan 208baa3ec9 pm: cpupower: bench: Prevent NULL dereference on malloc failure
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/20250219122715.3892223-1-quic_zhonhan@quicinc.com
Signed-off-by: Zhongqiu Han <quic_zhonhan@quicinc.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2025-02-19 13:48:08 -07:00
..
benchmark.c
…
benchmark.h
…
config.h
…
cpufreq-bench_plot.sh
…
cpufreq-bench_script.sh
…
example.cfg
…
main.c
…
Makefile
cpupower: Disable direct build of the 'bench' subproject
2024-06-28 15:55:20 -06:00
parse.c
pm: cpupower: bench: Prevent NULL dereference on malloc failure
2025-02-19 13:48:08 -07:00
parse.h
…
README-BENCH
…
system.c
…
system.h
…
Powered by Gitea Page: 1242ms Template: 34ms
Auto
English
English
Licenses API