android_kernel_google_msm/arch/sh
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
..
boards sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
boot Kbuild: centralize MKIMAGE and cmd_uimage definitions 2012-03-26 15:49:20 +02:00
cchips
configs
drivers sh: dma: Fix up device attribute mismatch from sysdev fallout. 2012-03-30 19:36:03 +09:00
include sh: Fix FDPIC binary loader 2013-01-21 11:45:14 -08:00
kernel sh: fix format string bug in stack tracer 2014-05-06 07:51:45 -07:00
lib sh: always link in helper functions extracted from libgcc 2014-01-08 09:42:12 -08:00
lib64
math-emu Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
mm sh: Fix error synchronising kernel page tables 2012-04-19 15:57:44 +09:00
oprofile
tools
Kconfig SuperH updates for 3.4 merge window 2012-03-30 00:09:17 -07:00
Kconfig.cpu
Kconfig.debug sh: dwarf unwinder depends on SHcompact. 2012-03-30 19:31:22 +09:00
Makefile