Skip to content
Commit 499f1216 authored by Steven Rostedt (Google)'s avatar Steven Rostedt (Google)
Browse files

tracing: Have event format check not flag %p* on __get_dynamic_array()

The print fmt check against trace events to make sure that the format does
not use pointers that may be freed from the time of the trace to the time
the event is read, gives a false positive on %pISpc when reading data that
was saved in __get_dynamic_array() when it is perfectly fine to do so, as
the data being read is on the ring buffer.

Link: https://lore.kernel.org/all/20220407144524.2a592ed6@canb.auug.org.au/



Cc: stable@vger.kernel.org
Fixes: 5013f454 ("tracing: Add check of trace event print fmts for dereferencing pointers")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent ba27d855
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