mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[CPUFREQ] Fix format string bug.
Format string bug. Not exploitable, as this is only writable by root, but worth fixing all the same. Spotted-by: Ilja van Sprundel <[email protected]> Signed-off-by: Dave Jones <[email protected]>
This commit is contained in:
parent
dca0261393
commit
326f6a5c9c
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ static int cpufreq_parse_governor(char *str_governor, unsigned int *policy,
|
|||
int ret;
|
||||
|
||||
mutex_unlock(&cpufreq_governor_mutex);
|
||||
ret = request_module(name);
|
||||
ret = request_module("%s", name);
|
||||
mutex_lock(&cpufreq_governor_mutex);
|
||||
|
||||
if (ret == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue