summaryrefslogtreecommitdiff
path: root/kernel/trace/seq_buf.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-11-19 10:56:41 -0500
committerSteven Rostedt <rostedt@goodmis.org>2014-11-19 22:01:16 -0500
commit820b75f63d0152dbb9ff4accf274408592d613f2 (patch)
treeffe2dd4764a94f0d84877b45b9a14f59d5e63c93 /kernel/trace/seq_buf.c
parent5ac48378414dccca735897c4d7f4e19987c8977c (diff)
downloadlwn-820b75f63d0152dbb9ff4accf274408592d613f2.tar.gz
lwn-820b75f63d0152dbb9ff4accf274408592d613f2.zip
tracing: Add paranoid size check in trace_printk_seq()
To be really paranoid about writing out of bound data in trace_printk_seq(), add another check of len compared to size. Link: http://lkml.kernel.org/r/20141119144004.GB2332@dhcp128.suse.cz Suggested-by: Petr Mladek <pmladek@suse.cz> Reviewed-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/seq_buf.c')
0 files changed, 0 insertions, 0 deletions