Messages in this thread | | | Date | Tue, 13 Oct 2009 10:58:43 +0200 | Subject | Re: [PATCH 1/3] ftrace: add kernel command line graph function filtering | From | Frédéric Weisbecker <> |
| |
2009/10/13 Li Zefan <lizf@cn.fujitsu.com>: >> +#ifdef CONFIG_FUNCTION_GRAPH_TRACER >> +static int __init set_graph_function(char *str) >> +{ >> + strncpy(ftrace_graph_buf, str, FTRACE_FILTER_SIZE); > > should use strlcpy(). >
Right, I'll fix, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |