The buffer is too short for the string. Signed-off-by: Daniel Wagner <daniel.wagner@xxxxxxxxxxx> --- src/sched_deadline/deadline_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sched_deadline/deadline_test.c b/src/sched_deadline/deadline_test.c index b213c206559c..1b72c6097a87 100644 --- a/src/sched_deadline/deadline_test.c +++ b/src/sched_deadline/deadline_test.c @@ -435,7 +435,7 @@ static void setup_ftrace_marker(void) { struct stat st; const char *debugfs = find_debugfs(); - char files[strlen(debugfs) + 14]; + char files[strlen(debugfs) + strlen("/tracing/trace_marker")]; int ret; if (strlen(debugfs) == 0) -- 2.20.1