aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorChangbin Du <[email protected]>2018-01-16 09:02:29 +0000
committerSteven Rostedt (VMware) <[email protected]>2018-01-23 20:57:28 +0000
commit76638d96502744b0d593f2386b75ae5a017c13bb (patch)
treecb6b25e2586657ecd8adb61deae7a3ebc00f8247 /scripts/gcc-plugins/sancov_plugin.c
parenttracing: Detect the string nul character when parsing user input string (diff)
downloadkernel-76638d96502744b0d593f2386b75ae5a017c13bb.tar.gz
kernel-76638d96502744b0d593f2386b75ae5a017c13bb.zip
tracing: Clear parser->idx if only spaces are read
If only spaces were read while parsing the next string, then parser->idx should be cleared in order to make trace_parser_loaded() return false. Link: http://lkml.kernel.org/r/[email protected] Acked-by: Namhyung Kim <[email protected]> Signed-off-by: Changbin Du <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions