Matt Fleming a0c32761e7 sh: fix format string bug in stack tracer
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-04-03 16:20:49 -07:00
..
2012-03-28 16:36:37 +02:00
2010-09-30 09:43:32 +09:00
2012-03-28 18:30:03 +01:00
2010-06-02 16:31:42 +09:00
2010-11-01 09:49:04 -04:00
2010-10-07 14:08:55 +01:00
2012-05-21 17:54:01 +09:00
2010-06-14 15:16:53 +09:00
2012-03-28 18:30:03 +01:00
2011-07-26 16:49:47 -07:00