summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2022-04-07 14:56:32 -0400
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-05-25 16:57:37 -0400
commit499f12168aebd6da8fa32c9b7d6203ca9b5eb88d (patch)
treea28cf94d36f766a168c9faea3ad671a81092fae9 /scripts/coccinelle
parentba27d8555867b0e02e15709f4ddb79aec5cf2efc (diff)
downloadlinux-499f12168aebd6da8fa32c9b7d6203ca9b5eb88d.tar.bz2
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: 5013f454a352c ("tracing: Add check of trace event print fmts for dereferencing pointers") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions