summaryrefslogtreecommitdiff
path: root/kernel/power
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-03-09 15:28:44 +0100
committerJan Kara <jack@suse.cz>2013-03-11 22:05:56 +0100
commit8d0c2d10dd72c5292eda7a06231056a4c972e4cc (patch)
tree033e8160101d5811cdcbd93981be28449c1cb783 /kernel/power
parent68ac8bfb6aa4ce1a146b5a291f03fc2dd6d17cf2 (diff)
ext3: Fix format string issues
ext3_msg() takes the printk prefix as the second parameter and the format string as the third parameter. Two callers of ext3_msg omit the prefix and pass the format string as the second parameter and the first parameter to the format string as the third parameter. In both cases this string comes from an arbitrary source. Which means the string may contain format string characters, which will lead to undefined and potentially harmful behavior. The issue was introduced in commit 4cf46b67eb("ext3: Unify log messages in ext3") and is fixed by this patch. CC: stable@vger.kernel.org Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions