Re: [PATCH 1/3] ftrace: add kernel command line graph function filtering

From: Li Zefan
Date: Tue Oct 13 2009 - 04:09:24 EST


> +#ifdef CONFIG_FUNCTION_GRAPH_TRACER
> +static int __init set_graph_function(char *str)
> +{
> + strncpy(ftrace_graph_buf, str, FTRACE_FILTER_SIZE);

should use strlcpy().

> + return 1;
> +}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/