aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHui Wang <[email protected]>2021-02-08 18:38:57 +0800
committerMark Brown <[email protected]>2021-02-08 11:39:06 +0000
commit9037c3bde65d339017ef41d81cb58069ffc321d4 (patch)
tree07cd2248d879fb147f38a90645f75241362b21f8 /tools/perf/util/scripting-engines/trace-event-python.c
parent45a2702ce10993eda7a5b12690294782d565519c (diff)
ASoC: SOF: debug: Fix a potential issue on string buffer termination
The function simple_write_to_buffer() doesn't add string termination at the end of buf, we need to handle it on our own. This change refers to the function tokenize_input() in debug.c and the function sof_dfsentry_trace_filter_write() in trace.c. Fixes: 091c12e1f50c ("ASoC: SOF: debug: add new debugfs entries for IPC flood test") Reviewed-by: Kai Vehmanen <[email protected]> Signed-off-by: Hui Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions