Commit 69d71879 authored by Steven Rostedt (VMware)'s avatar Steven Rostedt (VMware)
Browse files

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: 8c08f0d5

 ("ftrace: Have cached module filters be an active filter")
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 4dce17b2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment