android_kernel_google_msm/arch/sh/kernel
Matt Fleming 5650bff7fd sh: fix format string bug in stack tracer
commit a0c32761e7 upstream.

Kees reported the following error:

   arch/sh/kernel/dumpstack.c: In function 'print_trace_address':
   arch/sh/kernel/dumpstack.c:118:2: error: format not a string literal and no format arguments [-Werror=format-security]

Use the "%s" format so that it's impossible to interpret 'data' as a
format string.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Reported-by: Kees Cook <keescook@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-06 07:51:45 -07:00
..
cpu SuperH updates for 3.4-rc1 2012-04-07 09:52:46 -07:00
vsyscall sh: vsyscall: Fix up .eh_frame generation. 2012-03-30 19:42:26 +09:00
.gitignore
asm-offsets.c
cpufreq.c sh: cpufreq: Wire up scaling_available_freqs support. 2012-01-27 20:45:24 +09:00
crash_dump.c
debugtraps.S
disassemble.c
dma-nommu.c SH: adapt for dma_map_ops changes 2012-03-28 16:36:37 +02:00
dumpstack.c sh: fix format string bug in stack tracer 2014-05-06 07:51:45 -07:00
dwarf.c
entry-common.S
ftrace.c
head_32.S
head_64.S
hw_breakpoint.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
idle.c sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
init_task.c
io.c
io_trapped.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
iomap.c
ioport.c
irq.c
irq_32.c
irq_64.c
kdebugfs.c
kgdb.c sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
kprobes.c
localtimer.c
machine_kexec.c
machvec.c
Makefile
module.c
nmi_debug.c
perf_callchain.c
perf_event.c perf: Disable PERF_SAMPLE_BRANCH_* when not supported 2012-03-05 14:55:42 +01:00
process.c
process_32.c sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
process_64.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
ptrace.c
ptrace_32.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
ptrace_64.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
reboot.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
relocate_kernel.S
return_address.c
setup.c
sh_bios.c
sh_ksyms_32.c
sh_ksyms_64.c
signal_32.c SuperH updates for 3.4 merge window 2012-03-30 00:09:17 -07:00
signal_64.c sh: use set_current_blocked() and block_sigmask() 2012-03-29 09:11:26 +09:00
smp.c sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
stacktrace.c
swsusp.c
sys_sh.c
sys_sh32.c
sys_sh64.c
syscalls_32.S sh: Avoid exporting unimplemented syscalls. 2012-03-28 16:20:20 +09:00
syscalls_64.S sh: Avoid exporting unimplemented syscalls. 2012-03-28 16:20:20 +09:00
time.c
topology.c arch/sh: remove references to cpu_*_map. 2012-02-24 13:21:45 +09:00
traps.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
traps_32.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
traps_64.c Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
unwinder.c
vmlinux.lds.S