summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2021-05-13 12:23:24 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-05-13 14:20:33 -0400
commiteb01f5353bdaa59600b29d864819056a0e3de24d (patch)
tree6b461e8d593c507df90d3484a6c5a302d1cdc1b5 /include
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
downloadlinux-stable-eb01f5353bdaa59600b29d864819056a0e3de24d.tar.gz
linux-stable-eb01f5353bdaa59600b29d864819056a0e3de24d.tar.bz2
linux-stable-eb01f5353bdaa59600b29d864819056a0e3de24d.zip
tracing: Handle %.*s in trace_check_vprintf()
If a trace event uses the %*.s notation, the trace_check_vprintf() will fail and will warn about a bad processing of strings, because it does not take into account the length field when processing the star (*) part. Have it handle this case as well. Link: https://lore.kernel.org/linux-nfs/238C0E2D-C2A4-4578-ADD2-C565B3B99842@oracle.com/ Reported-by: Chuck Lever III <chuck.lever@oracle.com> Fixes: 9a6944fee68e2 ("tracing: Add a verifier to check string pointers for trace events") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions