diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-01-27 23:14:25 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-02-07 20:56:19 -0500 |
commit | ec126cac23945de12eb2d103374e1f7ee97c5595 (patch) | |
tree | 7f0c322c26404512b95ff9b024fa8725e1c73807 /kernel/trace/trace.h | |
parent | 55719274188f13cff9e3bd11fdd4c0e7617cd03d (diff) |
tracing/filter: Check the created pred tree
Since the filter walks a tree to determine if a match is made or not,
if the tree was incorrectly created, it could cause an infinite loop.
Add a check to walk the entire tree before assigning it as a filter
to make sure the tree is correct.
Cc: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
0 files changed, 0 insertions, 0 deletions