diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-07-05 09:45:43 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-07-05 09:52:18 -0400 |
commit | 69d71879d2cf67a381055f698a1d7def00dc4ed7 (patch) | |
tree | bfca8b6145348c973eb6c880e614c22a6a2065e0 /kernel/ucount.c | |
parent | 4dce17b26b6ac3bf29aa0eae1d28e14debe37747 (diff) |
ftrace: Test for NULL iter->tr in regex for stack_trace_filter changes
As writing into stack_trace_filter, the iter-tr is not set and is NULL.
Check if it is NULL before dereferencing it in ftrace_regex_release().
Fixes: 8c08f0d5c6fb ("ftrace: Have cached module filters be an active filter")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/ucount.c')
0 files changed, 0 insertions, 0 deletions