diff options
author | 2016-01-15 16:58:53 -0800 | |
---|---|---|
committer | 2016-01-16 11:17:28 -0800 | |
commit | 331e4deb6dfdac50d3f9c4ccbc41b1427335e212 (patch) | |
tree | 3a755146ef906973c041b7c3db2697852e4749f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lib/test_printf.c: don't BUG (diff) | |
download | linux-dev-331e4deb6dfdac50d3f9c4ccbc41b1427335e212.tar.xz linux-dev-331e4deb6dfdac50d3f9c4ccbc41b1427335e212.zip |
lib/test_printf.c: check for out-of-bound writes
Add a few padding bytes on either side of the test buffer, and check
that these (and the part of the buffer not used) are untouched by
vsnprintf.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Joe Perches <joe@perches.com>
Cc: Maurizio Lombardi <mlombard@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions