git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22f4564
)
kernel: tracing: Use strlcpy instead of strncpy
author
Chen Gang
<gang.chen@asianux.com>
Mon, 8 Apr 2013 04:06:44 +0000
(12:06 +0800)
committer
Steven Rostedt
<rostedt@goodmis.org>
Tue, 9 Apr 2013 15:25:08 +0000
(11:25 -0400)
Use strlcpy() instead of strncpy() as it will always add a '\0'
to the end of the string even if the buffer is smaller than what
is being copied.
Link:
http://lkml.kernel.org/r/51624254.30301@asianux.com
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
No differences found