Re: [PATCH] trace: using strlcpy instead of strncpy

2013-06-20 Thread Steven Rostedt
This fix is to a networking tracepoint. It should go through the networking folks. -- Steve On Thu, 2013-06-20 at 19:07 +0800, Zhao Hongjiang wrote: > for NUL terminated string, need alway set '\0' in the end. > > Signed-off-by: Zhao Hongjiang > --- > include/trace/events/sock.h |2 +- >

[PATCH] trace: using strlcpy instead of strncpy

2013-06-20 Thread Zhao Hongjiang
for NUL terminated string, need alway set '\0' in the end. Signed-off-by: Zhao Hongjiang --- include/trace/events/sock.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/trace/events/sock.h b/include/trace/events/sock.h index 779abb9..333d8b5 100644 --- a/include