diff options
author | Wen Yang <wen.yang99@zte.com.cn> | 2019-07-17 11:55:04 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-23 09:49:10 +0200 |
commit | e0a12445d1cb186d875410d093a00d215bec6a89 (patch) | |
tree | f7c1d0a994545415e0891685123161feb2754df5 /crypto/tcrypt.h | |
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 <wen.yang99@zte.com.cn>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'crypto/tcrypt.h')
0 files changed, 0 insertions, 0 deletions