projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca0261
)
[CPUFREQ] Fix format string bug.
author
Chris Wright
<chrisw@sous-sol.org>
Sat, 7 Jun 2008 04:26:02 +0000
(21:26 -0700)
committer
Dave Jones
<davej@redhat.com>
Mon, 9 Jun 2008 17:24:55 +0000
(13:24 -0400)
Format string bug. Not exploitable, as this is only writable by root,
but worth fixing all the same.
Spotted-by: Ilja van Sprundel <ilja@netric.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/cpufreq/cpufreq.c
b/drivers/cpufreq/cpufreq.c
index 86f0a24306246400d46694f3c38ad604fdd5df99..cc3baf10d2d0d7b11b9cb5a25d4d86c7ade21db2 100644
(file)
--- a/
drivers/cpufreq/cpufreq.c
+++ b/
drivers/cpufreq/cpufreq.c
@@
-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)