diff options
| author | Matt Fleming <[email protected]> | 2014-04-03 14:46:20 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-04-03 16:20:49 -0700 |
| commit | a0c32761e73c9999cbf592b702f284221fea8040 (patch) | |
| tree | ae4d499ba62c67522820f9c33c2e0a4878cde55a /tools/perf/scripts/python/bin | |
| parent | 59ecc26004e77e100c700b1d0da7502b0fdadb46 (diff) | |
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 <[email protected]>
Reported-by: Kees Cook <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions