diff options
author | Wen Yang <[email protected]> | 2019-07-17 11:55:04 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2019-07-23 09:49:10 +0200 |
commit | e0a12445d1cb186d875410d093a00d215bec6a89 (patch) | |
tree | f7c1d0a994545415e0891685123161feb2754df5 /tools/perf/util/c++/clang-test.cpp | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) |
cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init()
The cpu variable is still being used in the of_get_property() call
after the of_node_put() call, which may result in use-after-free.
Fixes: a9acc26b75f6 ("cpufreq/pasemi: fix possible object reference leak")
Signed-off-by: Wen Yang <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions